This class implements a {@link MergePolicy} that tries /// to merge segments into levels of exponentially /// increasing size, where each level has < mergeFactor /// segments in it. Whenever a given levle has mergeFactor /// segments or more in it, they will be merged.
/// ///This class is abstract and requires a subclass to /// define the {@link #size} method which specifies how a /// segment's size is determined. {@link LogDocMergePolicy} /// is one subclass that measures size by document count in /// the segment. {@link LogByteSizeMergePolicy} is another /// subclass that measures size as the total byte size of the /// file(s) for the segment.
///Returns the number of segments that are merged at /// once and also controls the total number of segments /// allowed to accumulate in the index.
///Determines the largest segment (measured by /// document count) that may be merged with other segments. /// Small values (e.g., less than 10,000) are best for /// interactive indexing, as this limits the length of /// pauses while indexing to a few seconds. Larger values /// are best for batched indexing and speedier /// searches.
/// ///The default value is {@link Integer#MAX_VALUE}.
/// ///The default merge policy ({@link /// LogByteSizeMergePolicy}) also allows you to set this /// limit by net size (in MB) of the segment, using {@link /// LogByteSizeMergePolicy#setMaxMergeMB}.
///