Class IgnoreCommitOptimizeUpdateProcessorFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin

    public class IgnoreCommitOptimizeUpdateProcessorFactory
    extends UpdateRequestProcessorFactory
    Gives system administrators a way to ignore explicit commit or optimize requests from clients. The factory can be configured to return a specific HTTP response code, default is 403, and optional response message, such as to warn the client application that its request was ignored.
    Since:
    5.0.0
    • Field Detail

      • errorCode

        protected org.apache.solr.common.SolrException.ErrorCode errorCode
      • responseMsg

        protected String responseMsg
      • ignoreOptimizeOnly

        protected boolean ignoreOptimizeOnly
    • Constructor Detail

      • IgnoreCommitOptimizeUpdateProcessorFactory

        public IgnoreCommitOptimizeUpdateProcessorFactory()