You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2007/06/15 05:39:26 UTC
[jira] Resolved: (SOLR-262) convert SolrInputDocument to Document
and Document to SolrDocument
[ https://issues.apache.org/jira/browse/SOLR-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley resolved SOLR-262.
--------------------------------
Resolution: Fixed
added... the interface can still change...
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.