[ https://issues.apache.org/jira/browse/SOLR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-262: ------------------------------- Attachment: SOLR-262-SolrDocumentBuilder.patch Updated to work with trunk. I added a big javadoc comment saying the: loadStoredFields() API is preliminary and many be refactored... I would like to commit this patch because: 1. it does not affect old things 2. four patches i'm working with depend on this... > convert SolrInputDocument to Document and Document to SolrDocument > ------------------------------------------------------------------ > > Key: SOLR-262 > URL: https://issues.apache.org/jira/browse/SOLR-262 > Project: Solr > Issue Type: New Feature > Reporter: Ryan McKinley > Attachments: SOLR-262-SolrDocumentBuilder.patch, > SOLR-262-SolrDocumentBuilder.patch, SOLR-262-SolrDocumentBuilder.patch > > > This is all extracted from SOLR-193. > We need some way to convert between SolrDocuments and lucene Documents. This > patch: > 1. add to FieldType.java: > public Object toObject(Fieldable f) { } > 2. Add to DocumentBuilder: > public Document build( SolrInputDocument doc ) > 3. Add to IndexSchema: > public boolean isCopyFieldTarget( SchemaField f ) > 4. Add to DocumentBuilder: > public SolrDocument loadStoredFields( SolrDocument doc, Document luceneDoc > ) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.