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

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

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

    Subclasses of MergePolicy in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LogByteSizeMergePolicy` This is a `LogMergePolicy` that measures size of a segment as the total byte size of the segment's files.
    `class` | `LogDocMergePolicy` This is a `LogMergePolicy` that measures size of a segment as the number of documents (not taking deletions into account).
    `class` | `LogMergePolicy` This class implements a `MergePolicy` that tries to merge segments into levels of exponentially increasing size, where each level has fewer segments than the value of the merge factor.

    Methods in org.apache.lucene.index that return MergePolicy
    Modifier and Type | Method and Description
    --- | ---
    `MergePolicy` | IndexWriter.`getMergePolicy()` Expert: returns the current MergePolicy in use by this writer.

    Methods in org.apache.lucene.index with parameters of type MergePolicy
    Modifier and Type | Method and Description
    --- | ---
    `void` | IndexWriter.`setMergePolicy(MergePolicy mp)` Expert: set the merge policy used by this writer.

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