# Package org.apache.lucene.misc.index

Misc index tools and index support.

- Interface Summary
  Interface | Description
  --- | ---
  IndexRearranger.DocumentSelector | Select document within a CodecReader

- Class Summary
  Class | Description
  --- | ---
  BinaryDocValueSelector | Select documents using binary doc values
  BPIndexReorderer | Implementation of "recursive graph bisection", also called "bipartite graph partitioning" and often abbreviated BP, an approach to doc ID assignment that aims at reducing the sum of the log gap between consecutive postings.
  BPReorderingMergePolicy | A merge policy that reorders merged segments according to a `BPIndexReorderer`.
  IndexRearranger | Copy and rearrange index according to document selectors, from input dir to output dir.
  IndexSplitter | Command-line tool that enables listing segments in an index, copying specific segments to another index, and deleting segments from an index.
  MultiPassIndexSplitter | This tool splits input index into multiple equal parts.
  PKIndexSplitter | Split an index based on a `Query`.

- Exception Summary
  Exception | Description
  --- | ---
  BPIndexReorderer.NotEnoughRAMException | Exception that is thrown when not enough RAM is available.