mirror of https://github.com/apache/lucene.git
SOLR-4906: fix UpdateRequestProcessorChain class javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e348ff90f
commit
d342f49051
|
@ -34,23 +34,48 @@ import java.util.ArrayList;
|
||||||
/**
|
/**
|
||||||
* Manages a chain of UpdateRequestProcessorFactories.
|
* Manages a chain of UpdateRequestProcessorFactories.
|
||||||
* <p>
|
* <p>
|
||||||
* Chain can be configured via solrconfig.xml:
|
* Chains can be configured via solrconfig.xml using the following syntax...
|
||||||
* </p>
|
* </p>
|
||||||
* <pre class="prettyprint">
|
* <pre class="prettyprint">
|
||||||
* <updateRequestProcessors name="key" default="true">
|
* <updateRequestProcessorChain name="key" default="true">
|
||||||
* <processor class="PathToClass1" />
|
* <processor class="package.Class1" />
|
||||||
* <processor class="PathToClass2" />
|
* <processor class="package.Class2" >
|
||||||
|
* <str name="someInitParam1">value</str>
|
||||||
|
* <int name="someInitParam2">42</int>
|
||||||
|
* </processor>
|
||||||
* <processor class="solr.LogUpdateProcessorFactory" >
|
* <processor class="solr.LogUpdateProcessorFactory" >
|
||||||
* <int name="maxNumToLog">100</int>
|
* <int name="maxNumToLog">100</int>
|
||||||
* </processor>
|
* </processor>
|
||||||
* <processor class="solr.RunUpdateProcessorFactory" />
|
* <processor class="solr.RunUpdateProcessorFactory" />
|
||||||
* </updateRequestProcessors>
|
* </updateRequestProcessorChain>
|
||||||
* </pre>
|
* </pre>
|
||||||
* <p>
|
* <p>
|
||||||
|
* Multiple Chains can be defined, each with a distinct name. The name of
|
||||||
|
* a chain used to handle an update request may be specified using the request
|
||||||
|
* param <code>update.chain</code>. If no chain is explicitly selected
|
||||||
|
* by name, then Solr will attempt to determine a default chain:
|
||||||
|
* </p>
|
||||||
|
* <ul>
|
||||||
|
* <li>A single configured chain may explicitly be declared with
|
||||||
|
* <code>default="true"</code> (see example above)</li>
|
||||||
|
* <li>If no chain is explicitly declared as the default, Solr will look for
|
||||||
|
* any chain that does not have a name, and treat it as the default</li>
|
||||||
|
* <li>As a last resort, Solr will create an implicit default chain
|
||||||
|
* consisting of:<ul>
|
||||||
|
* <li>{@link LogUpdateProcessorFactory}</li>
|
||||||
|
* <li>{@link DistributedUpdateProcessorFactory}</li>
|
||||||
|
* <li>{@link RunUpdateProcessorFactory}</li>
|
||||||
|
* </ul></li>
|
||||||
|
* </ul>
|
||||||
|
*
|
||||||
|
* <p>
|
||||||
* Allmost all processor chains should end with an instance of
|
* Allmost all processor chains should end with an instance of
|
||||||
* {@link RunUpdateProcessorFactory} unless the user is explicitly
|
* <code>RunUpdateProcessorFactory</code> unless the user is explicitly
|
||||||
* executing the update commands in an alternative custom
|
* executing the update commands in an alternative custom
|
||||||
* <code>UpdateRequestProcessorFactory</code>.
|
* <code>UpdateRequestProcessorFactory</code>. If a chain includes
|
||||||
|
* <code>RunUpdateProcessorFactory</code> but does not include a
|
||||||
|
* <code>DistributingUpdateProcessorFactory</code>, it will be added
|
||||||
|
* automaticly by {@link #init init()}.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @see UpdateRequestProcessorFactory
|
* @see UpdateRequestProcessorFactory
|
||||||
|
|
Loading…
Reference in New Issue