# Package org.apache.lucene.misc

Miscellaneous index tools.

See: Description

- Class Summary
  Class | Description
  --- | ---
  CollectorMemoryTracker | Default implementation of `MemoryTracker` that tracks allocations and allows setting a memory limit per collector
  GetTermInfo | Utility to get document frequency and total number of occurrences (sum of the tf for each doc) of a term.
  HighFreqTerms | `HighFreqTerms` class extracts the top n most frequent terms (by document frequency) from an existing Lucene index and reports their document frequency.
  HighFreqTerms.DocFreqComparator | Compares terms by docTermFreq
  HighFreqTerms.TotalTermFreqComparator | Compares terms by totalTermFreq
  IndexMergeTool | Merges indices specified on the command line into the index specified as the first command line argument.
  SweetSpotSimilarity | A similarity with a lengthNorm that provides for a "plateau" of equally good lengths, and tf helper functions.
  TermStats | Holder for a term along with its statistics (`TermStats.docFreq` and `TermStats.totalTermFreq`).

## Package org.apache.lucene.misc Description

Miscellaneous index tools.

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