[
https://issues.apache.org/jira/browse/SOLR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856329#comment-13856329
]
Vadim Kirilchuk commented on SOLR-262:
--------------------------------------
Just to avoid confusion if anyone came here again.
SOLR-3074: fix SolrPluginUtils.docListToSolrDocumentList to respect the
list of fields specified. This fix also deprecates
DocumentBuilder.loadStoredFields which is not used anywhere in Solr,
and was fundamentally broken/bizarre.
(hossman, Ahmet Arslan)
> 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
> Assignee: 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 was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]