# Uses of Class
org.apache.lucene.index.MergePolicy.MergeSpecification

Packages that use MergePolicy.MergeSpecification
Package
Description
org.apache.lucene.index
Code to maintain and access indices.

## Uses of MergePolicy.MergeSpecification in org.apache.lucene.index

Methods in org.apache.lucene.index that return MergePolicy.MergeSpecification
Modifier and Type
Method
Description
`MergePolicy.MergeSpecification`
FilterMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
LogMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
Finds merges necessary to force-merge all deletes from the index.
`abstract MergePolicy.MergeSpecification`
MergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
Determine what set of merge operations is necessary in order to expunge all deletes from the index.
`MergePolicy.MergeSpecification`
NoMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
OneMergeWrappingMergePolicy.`findForcedDeletesMerges(SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
TieredMergePolicy.`findForcedDeletesMerges(SegmentInfos infos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
FilterMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
LogMergePolicy.`findForcedMerges(SegmentInfos infos, int maxNumSegments, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
Returns the merges necessary to merge the index down to a specified number of segments.
`abstract MergePolicy.MergeSpecification`
MergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
Determine what set of merge operations is necessary in order to merge to `<=` the specified segment count.
`MergePolicy.MergeSpecification`
NoMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
OneMergeWrappingMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
TieredMergePolicy.`findForcedMerges(SegmentInfos infos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
UpgradeIndexMergePolicy.`findForcedMerges(SegmentInfos segmentInfos, int maxSegmentCount, Map<SegmentCommitInfo,Boolean> segmentsToMerge, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
FilterMergePolicy.`findFullFlushMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
MergePolicy.`findFullFlushMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
Identifies merges that we want to execute (synchronously) on commit.
`MergePolicy.MergeSpecification`
NoMergePolicy.`findFullFlushMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
OneMergeWrappingMergePolicy.`findFullFlushMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
FilterMergePolicy.`findMerges(CodecReader... readers)`
`MergePolicy.MergeSpecification`
FilterMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
LogMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos infos, MergePolicy.MergeContext mergeContext)`
Checks if any merges are now necessary and returns a `MergePolicy.MergeSpecification` if so.
`MergePolicy.MergeSpecification`
MergePolicy.`findMerges(CodecReader... readers)`
Define the set of merge operations to perform on provided codec readers in `IndexWriter.addIndexes(CodecReader...)`.
`abstract MergePolicy.MergeSpecification`
MergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
Determine what set of merge operations are now necessary on the index.
`MergePolicy.MergeSpecification`
NoMergePolicy.`findMerges(CodecReader... readers)`
`MergePolicy.MergeSpecification`
NoMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
OneMergeWrappingMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
TieredMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos infos, MergePolicy.MergeContext mergeContext)`
`MergePolicy.MergeSpecification`
UpgradeIndexMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, MergePolicy.MergeContext mergeContext)`
Methods in org.apache.lucene.index with parameters of type MergePolicy.MergeSpecification
Modifier and Type
Method
Description
`void`
IndexWriterEventListener.`beginMergeOnFullFlush(MergePolicy.MergeSpecification merge)`
Invoked at the start of merge on commit
`void`
IndexWriterEventListener.`endMergeOnFullFlush(MergePolicy.MergeSpecification merge)`
Invoked at the end of merge on commit, due to either merge completed, or merge timed out according to `IndexWriterConfig.setMaxFullFlushMergeWaitMillis(long)`