## Uses of 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 and Description
    --- | ---
    `static MergeTrigger` | MergeTrigger.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static MergeTrigger[]` | MergeTrigger.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.apache.lucene.index with parameters of type MergeTrigger
    Modifier and Type | Method and Description
    --- | ---
    `abstract MergePolicy.MergeSpecification` | MergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, IndexWriter writer)` Determine what set of merge operations are now necessary on the index.
    `MergePolicy.MergeSpecification` | OneMergeWrappingMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, IndexWriter writer)`
    `MergePolicy.MergeSpecification` | MergePolicyWrapper.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, IndexWriter writer)`
    `MergePolicy.MergeSpecification` | LogMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos infos, IndexWriter writer)` Checks if any merges are now necessary and returns a `MergePolicy.MergeSpecification` if so.
    `MergePolicy.MergeSpecification` | NoMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, IndexWriter writer)`
    `MergePolicy.MergeSpecification` | UpgradeIndexMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos segmentInfos, IndexWriter writer)`
    `MergePolicy.MergeSpecification` | TieredMergePolicy.`findMerges(MergeTrigger mergeTrigger, SegmentInfos infos, IndexWriter writer)`
    `void` | SerialMergeScheduler.`merge(IndexWriter writer, MergeTrigger trigger, boolean newMergesFound)` Just do the merges in sequence.
    `void` | ConcurrentMergeScheduler.`merge(IndexWriter writer, MergeTrigger trigger, boolean newMergesFound)`
    `void` | NoMergeScheduler.`merge(IndexWriter writer, MergeTrigger trigger, boolean newMergesFound)`
    `abstract void` | MergeScheduler.`merge(IndexWriter writer, MergeTrigger trigger, boolean newMergesFound)` Run the merges provided by `IndexWriter.getNextMerge()`.

Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.