Class LogDocMergePolicy
This is a LogMergePolicy that measures size of a segment as the number of documents (not taking deletions into account).
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class LogDocMergePolicy : LogMergePolicy
Constructors
Name | Description |
---|---|
LogDocMergePolicy() | Sole constructor, setting all settings to their defaults. |
Fields
Name | Description |
---|---|
DEFAULT_MIN_MERGE_DOCS | Default minimum segment size. |
Properties
Name | Description |
---|---|
MinMergeDocs | Sets the minimum size for the lowest level segments. Any segments below this size are considered to be on the same level (even if they vary drastically in size) and will be merged whenever there are mergeFactor of them. This effectively truncates the "long tail" of small segments that would otherwise be created into a single level. If you set this too large, it could greatly increase the merging cost during indexing (if you flush many small segments). |
Methods
Name | Description |
---|---|
Size(SegmentCommitInfo) |