[ 
https://issues.apache.org/jira/browse/SOLR-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617463#comment-13617463
 ] 

Andrzej Bialecki  commented on SOLR-4648:
-----------------------------------------

David, thanks for the review. I'll prepare a new patch, using the 
FieldMutatingUP* classes - indeed, I missed them and they help a lot.

bq. since there is more to the state of a Field than it's tokenStream and 
stored value...
I can try creating the StorableField using the SchemaField.createField(...) for 
this field's type, so that most of its state will be specific to the declared 
schema field, and the only mutations will be to set the optional stringValue 
and the tokenStreamValue, and to flip the type flags accordingly.
                
> Create a PreAnalyzedUpdateProcessor
> -----------------------------------
>
>                 Key: SOLR-4648
>                 URL: https://issues.apache.org/jira/browse/SOLR-4648
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 4.3, 5.0
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>             Fix For: 4.3, 5.0
>
>         Attachments: SOLR-4648.patch, SOLR-4648.patch
>
>
> Spin-off from the discussion in SOLR-4619.
> Instead of using a PreAnalyzedField type we can use an UpdateRequestProcessor 
> that converts any input field values to StorableField-s, using the 
> PreAnalyzedParser-s, and then directly passes StorableField-s to 
> DocumentBuilder for indexing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to