Class WrapperMergePolicyFactory

    • Field Detail

      • NO_SUB_PACKAGES

        protected static final String[] NO_SUB_PACKAGES
    • Method Detail

      • getDefaultWrappedMergePolicy

        protected org.apache.lucene.index.MergePolicy getDefaultWrappedMergePolicy()
        Returns the default wrapped MergePolicy. This is called if the factory settings do not explicitly specify the wrapped policy.
      • getWrappedMergePolicy

        protected final org.apache.lucene.index.MergePolicy getWrappedMergePolicy()
        Returns an instance of the wrapped MergePolicy after it has been configured with all set parameters.
      • getMergePolicyInstance

        protected abstract org.apache.lucene.index.MergePolicy getMergePolicyInstance​(org.apache.lucene.index.MergePolicy wrappedMP)
        Returns an instance of the wrapping MergePolicy without configuring its set parameters.
      • getMergePolicy

        public final org.apache.lucene.index.MergePolicy getMergePolicy()
        Returns a wrapping MergePolicy with its set parameters configured.
        Specified by:
        getMergePolicy in class MergePolicyFactory