org.apache.lucene.misc (Lucene 10.5.0 misc API)
Description: declaration: package: org.apache.lucene.misc

# Package org.apache.lucene.misc

package org.apache.lucene.misc
Miscellaneous Lucene utilities that don't really fit anywhere else.

- Related Packages
  Package
  Description
  org.apache.lucene.misc.document
  Misc extensions of the Document/Field API.
  org.apache.lucene.misc.index
  Misc index tools and index support.
  org.apache.lucene.misc.search
  Misc search implementations.
  org.apache.lucene.misc.store
  Misc Directory implementations.
  org.apache.lucene.misc.util
  Memory Tracker interface which allows defining custom collector level memory trackers
- Classes
  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`).