# Uses of Enum Class
org.apache.lucene.index.MergeTrigger

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

## Uses of MergeTrigger in org.apache.lucene.index

Methods in org.apache.lucene.index that return MergeTrigger
Modifier and Type
Method
Description
`static MergeTrigger`
MergeTrigger.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static MergeTrigger[]`
MergeTrigger.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.
Methods in org.apache.lucene.index with parameters of type MergeTrigger
Modifier and Type
Method
Description
`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(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.
`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(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)`
`void`
ConcurrentMergeScheduler.`merge(MergeScheduler.MergeSource mergeSource, MergeTrigger trigger)`
`abstract void`
MergeScheduler.`merge(MergeScheduler.MergeSource mergeSource, MergeTrigger trigger)`
Run the merges provided by `MergeScheduler.MergeSource.getNextMerge()`.
`void`
NoMergeScheduler.`merge(MergeScheduler.MergeSource mergeSource, MergeTrigger trigger)`
`void`
SerialMergeScheduler.`merge(MergeScheduler.MergeSource mergeSource, MergeTrigger trigger)`
Just do the merges in sequence.