org.apache.solr.update.processor
Class LogUpdateProcessorFactory

java.lang.Object
  extended by org.apache.solr.update.processor.UpdateRequestProcessorFactory
      extended by org.apache.solr.update.processor.LogUpdateProcessorFactory
All Implemented Interfaces:
UpdateRequestProcessorFactory.RunAlways, NamedListInitializedPlugin

public class LogUpdateProcessorFactory
extends UpdateRequestProcessorFactory
implements UpdateRequestProcessorFactory.RunAlways

A logging processor. 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.

If the Log level is not >= INFO the processor will not be created or added to the chain.

Since:
solr 1.3

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways
 
Constructor Summary
LogUpdateProcessorFactory()
           
 
Method Summary
 UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
           
 void init(NamedList args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogUpdateProcessorFactory

public LogUpdateProcessorFactory()
Method Detail

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-2014 Apache Software Foundation. All Rights Reserved.