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

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

- - ### Uses of MergePolicy.OneMerge in org.apache.lucene.index

    Fields in org.apache.lucene.index with type parameters of type MergePolicy.OneMerge
    Modifier and Type | Field and Description
    --- | ---
    `List<MergePolicy.OneMerge>` | MergePolicy.MergeSpecification.`merges` The subset of segments to be included in the primitive merge.

    Methods in org.apache.lucene.index that return MergePolicy.OneMerge
    Modifier and Type | Method and Description
    --- | ---
    `MergePolicy.OneMerge` | IndexWriter.`getNextMerge()` Expert: the `MergeScheduler` calls this method to retrieve the next merge requested by the MergePolicy

    Methods in org.apache.lucene.index with parameters of type MergePolicy.OneMerge
    Modifier and Type | Method and Description
    --- | ---
    `void` | MergePolicy.MergeSpecification.`add(MergePolicy.OneMerge merge)` Adds the provided `MergePolicy.OneMerge` to this specification.
    `protected void` | ConcurrentMergeScheduler.`doMerge(IndexWriter writer, MergePolicy.OneMerge merge)` Does the actual merge, by calling `IndexWriter.merge(org.apache.lucene.index.MergePolicy.OneMerge)`
    `protected ConcurrentMergeScheduler.MergeThread` | ConcurrentMergeScheduler.`getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge)` Create and return a new MergeThread
    `void` | IndexWriter.`merge(MergePolicy.OneMerge merge)` Merges the indicated segments, replacing them in the stack with a single segment.
    `Directory` | ConcurrentMergeScheduler.`wrapForMerge(MergePolicy.OneMerge merge, Directory in)`
    `Directory` | MergeScheduler.`wrapForMerge(MergePolicy.OneMerge merge, Directory in)` Wraps the incoming `Directory` so that we can merge-throttle it using `RateLimitedIndexOutput`.
    `Directory` | NoMergeScheduler.`wrapForMerge(MergePolicy.OneMerge merge, Directory in)`

    Constructors in org.apache.lucene.index with parameters of type MergePolicy.OneMerge
    Constructor and Description
    `MergeThread(IndexWriter writer, MergePolicy.OneMerge merge)` Sole constructor.

    Constructor parameters in org.apache.lucene.index with type arguments of type MergePolicy.OneMerge
    Constructor and Description
    `OneMergeWrappingMergePolicy(MergePolicy in, UnaryOperator<MergePolicy.OneMerge> wrapOneMerge)` Constructor

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