You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/08/29 23:43:52 UTC

[jira] [Resolved] (SOLR-4249) change UniqFieldsUpdateProcessorFactory to subclass FieldValueSubsetUpdateProcessorFactory

     [ https://issues.apache.org/jira/browse/SOLR-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-4249.
----------------------------

    Resolution: Fixed
    
> change UniqFieldsUpdateProcessorFactory to subclass FieldValueSubsetUpdateProcessorFactory
> ------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4249
>                 URL: https://issues.apache.org/jira/browse/SOLR-4249
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.5, 5.0
>
>         Attachments: SOLR-4249.patch
>
>
> UniqFieldsUpdateProcessorFactory has been arround for a while, but if we change it to subclass FieldValueSubsetUpdateProcessorFactory, a lot of redundent code could be eliminated from that class, and the factory could be made more configurable by supporting all of the field matching logic in FieldMutatingUpdateProcessorFactory, not just a list of field names.
> (the only new code that would be needed is handling the legacy config case currently supported by UniqFieldsUpdateProcessorFactory)
> ---
> For users of 4.x starting with 4.5, the existing init param syntax will still be supported, but a warning will be logged recommending they switch to using {{<arr name="fieldName">...</arr>}} instead of {{<lst name="fields">..</lst>}}.  Starting with 5.0, the "fields" option won't be recognized at all.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org