Package org.apache.solr.update.processor
Class IgnoreLargeDocumentProcessorFactory
- java.lang.Object
-
- org.apache.solr.update.processor.UpdateRequestProcessorFactory
-
- org.apache.solr.update.processor.IgnoreLargeDocumentProcessorFactory
-
- All Implemented Interfaces:
NamedListInitializedPlugin
public class IgnoreLargeDocumentProcessorFactory extends UpdateRequestProcessorFactory
Gives system administrators a way to ignore very large update from clients. When an update goes through processors its size can change therefore this processor should be the last processor of the chain.- Since:
- 7.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.update.processor.UpdateRequestProcessorFactory
UpdateRequestProcessorFactory.RunAlways
-
-
Field Summary
Fields Modifier and Type Field Description static String
LIMIT_SIZE_PARAM
-
Constructor Summary
Constructors Constructor Description IgnoreLargeDocumentProcessorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRequestProcessor
getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
void
init(org.apache.solr.common.util.NamedList<?> args)
init
will be called just once, immediately after creation.
-
-
-
Field Detail
-
LIMIT_SIZE_PARAM
public static final String LIMIT_SIZE_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(org.apache.solr.common.util.NamedList<?> args)
Description copied from interface:NamedListInitializedPlugin
init
will be called just once, immediately after creation.Source of the initialization arguments will typically be solrconfig.xml, but will ultimately depends on the plugin itself
- Parameters:
args
- non-null list of initialization parameters (may be empty)
-
getInstance
public UpdateRequestProcessor getInstance(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
- Specified by:
getInstance
in classUpdateRequestProcessorFactory
-
-