Java org.apache.lucene.index LogMergePolicy fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.index LogMergePolicy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.index LogMergePolicy.

The text is from its open source code.

Field

intDEFAULT_MERGE_FACTOR
Default merge factor, which is how many segments are merged at a time

Method

intgetMaxMergeDocs()
Returns the largest segment (measured by document count) that may be merged with other segments.
intgetMergeFactor()

Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.

voidsetCalibrateSizeByDeletes(boolean calibrateSizeByDeletes)
Sets whether the segment size should be calibrated by the number of deletes when choosing segments for merge.
voidsetMaxMergeDocs(int maxMergeDocs)

Determines the largest segment (measured by document count) that may be merged with other segments.

voidsetMergeFactor(int mergeFactor)
Determines how often segment indices are merged by addDocument().