Class IncrementalMergePolicy

  • Direct Known Subclasses:
    IncrementalMergeGeometric, IncrementalMergeSingle

    public class IncrementalMergePolicy
    extends java.lang.Object
    A policy for merging different indices together on disk
    Since:
    4.0
    Author:
    Richard McCreadie, Stuart Mackie
    • Field Detail

      • indices

        protected static java.util.List<Index> indices
      • merged

        protected static java.util.List<java.lang.Integer> merged
    • Constructor Detail

      • IncrementalMergePolicy

        public IncrementalMergePolicy​(IncrementalIndex index)
    • Method Detail

      • purgeMerged

        public void purgeMerged()
        Delete indices which have been merged.
      • mergePolicy

        public boolean mergePolicy()
        No merge.
      • mergeCheck

        public boolean mergeCheck()
        Never merge.