org.apache.solr.update.processor
Class UniqFieldsUpdateProcessorFactory
java.lang.Object
org.apache.solr.update.processor.UpdateRequestProcessorFactory
org.apache.solr.update.processor.UniqFieldsUpdateProcessorFactory
- All Implemented Interfaces:
- NamedListInitializedPlugin
public class UniqFieldsUpdateProcessorFactory
- extends UpdateRequestProcessorFactory
A non-duplicate processor. Removes duplicates in the specified fields.
<updateRequestProcessorChain name="uniq-fields">
<processor class="org.apache.solr.update.processor.UniqFieldsUpdateProcessorFactory">
<lst name="fields">
<str>uniq</str>
<str>uniq2</str>
<str>uniq3</str>
</lst>
</processor>
<processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniqFieldsUpdateProcessorFactory
public UniqFieldsUpdateProcessorFactory()
init
public void init(NamedList args)
- Specified by:
init
in interface NamedListInitializedPlugin
- Overrides:
init
in class UpdateRequestProcessorFactory
getInstance
public UpdateRequestProcessor getInstance(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next)
- Specified by:
getInstance
in class UpdateRequestProcessorFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.