[ 
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

> 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
>
>
> 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.

Reply via email to