Checks if any merges are now necessary and returns a
{@link MergePolicy.MergeSpecification} if so. A merge
is necessary when there are more than {@link
#setMergeFactor} segments at a given level. When
multiple levels have too many segments, this method
will return multiple merges, allowing the {@link
MergeScheduler} to use concurrency.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public override MergePolicy..::..MergeSpecification FindMerges( SegmentInfos infos ) |
Visual Basic |
---|
Public Overrides Function FindMerges ( _ infos As SegmentInfos _ ) As MergePolicy..::..MergeSpecification |
Visual C++ |
---|
public: virtual MergePolicy..::..MergeSpecification^ FindMerges( SegmentInfos^ infos ) override |
Parameters
- infos
- Type: Lucene.Net.Index..::..SegmentInfos
[Missing <param name="infos"/> documentation for "M:Lucene.Net.Index.LogMergePolicy.FindMerges(Lucene.Net.Index.SegmentInfos)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.LogMergePolicy.FindMerges(Lucene.Net.Index.SegmentInfos)"]