Property MergeFactor
MergeFactor
Gets or Sets the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.
This determines how often segment indices are merged by AddDocument(IEnumerable<IIndexableField>). With smaller values, less RAM is used while indexing, and searches are faster, but indexing speed is slower. With larger values, more RAM is used during indexing, and while searches is slower, indexing is faster. Thus larger values (> 10) are best for batch index creation, and smaller values (< 10) for indices that are interactively maintained.
Declaration
public virtual int MergeFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |