You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2013/04/19 13:49:43 UTC
Update Request Processor Chains
I am trying to understand update request processor chains. Do they runs one
by one when indexing a ducument? Can I identify multiple update request
processor chains? Also what are that LogUpdateProcessorFactory and
RunUpdateProcessorFactory?
Re: Update Request Processor Chains
Posted by Erik Hatcher <er...@gmail.com>.
You can have multiple update chains defined and use only one of them per update request.
LogUpdateProcessor logs the update request and the RunUpdateProcessor is where the actual index is updated.
Erik
On Apr 19, 2013, at 07:49 , Furkan KAMACI wrote:
> I am trying to understand update request processor chains. Do they runs one
> by one when indexing a ducument? Can I identify multiple update request
> processor chains? Also what are that LogUpdateProcessorFactory and
> RunUpdateProcessorFactory?
Re: Update Request Processor Chains
Posted by Furkan KAMACI <fu...@gmail.com>.
Thanks for detailed answers.
2013/4/19 Chris Hostetter <ho...@fucit.org>
>
> : I am trying to understand update request processor chains. Do they runs
> one
> : by one when indexing a ducument? Can I identify multiple update request
> : processor chains? Also what are that LogUpdateProcessorFactory and
> : RunUpdateProcessorFactory?
>
> http://wiki.apache.org/solr/UpdateRequestProcessor
>
> "solrconfig.xml files can contain any number of
> UpdateRequestProcessorChains..."
>
> "Once one or more update chains are defined, you may select one on the
> update request through the parameter update.chain"
>
>
>
> https://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/update/processor/LogUpdateProcessorFactory.html
>
> " This keeps track of all commands that have passed through the chain and
> prints them on finish(). At the Debug (FINE) level, a message will be
> logged for each command prior to the next stage in the chain. "
>
>
>
>
> https://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/update/processor/RunUpdateProcessorFactory.html
>
> "Executes the update commands using the underlying UpdateHandler. Allmost
> all processor chains should end with an instance of
> RunUpdateProcessorFactory unless the user is explicitly executing the
> update commands in an alternative custom UpdateRequestProcessorFactory"
>
>
> -Hoss
>
Re: Update Request Processor Chains
Posted by Chris Hostetter <ho...@fucit.org>.
: I am trying to understand update request processor chains. Do they runs one
: by one when indexing a ducument? Can I identify multiple update request
: processor chains? Also what are that LogUpdateProcessorFactory and
: RunUpdateProcessorFactory?
http://wiki.apache.org/solr/UpdateRequestProcessor
"solrconfig.xml files can contain any number of UpdateRequestProcessorChains..."
"Once one or more update chains are defined, you may select one on the
update request through the parameter update.chain"
https://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/update/processor/LogUpdateProcessorFactory.html
" This keeps track of all commands that have passed through the chain and
prints them on finish(). At the Debug (FINE) level, a message will be
logged for each command prior to the next stage in the chain. "
https://lucene.apache.org/solr/4_2_1/solr-core/org/apache/solr/update/processor/RunUpdateProcessorFactory.html
"Executes the update commands using the underlying UpdateHandler. Allmost
all processor chains should end with an instance of
RunUpdateProcessorFactory unless the user is explicitly executing the
update commands in an alternative custom UpdateRequestProcessorFactory"
-Hoss