Example usage for Java org.apache.lucene.index LogMergePolicy fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MERGE_FACTOR Default merge factor, which is how many segments are merged at a time |
int | getMaxMergeDocs() Returns the largest segment (measured by document count) that may be merged with other segments. |
int | getMergeFactor() Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index. |
void | setCalibrateSizeByDeletes(boolean calibrateSizeByDeletes) Sets whether the segment size should be calibrated by the number of deletes when choosing segments for merge. |
void | setMaxMergeDocs(int maxMergeDocs) Determines the largest segment (measured by document count) that may be merged with other segments. |
void | setMergeFactor(int mergeFactor) Determines how often segment indices are merged by addDocument(). |