Miscellaneous Lucene utilities that don't really fit anywhere else.
Class Summary Class Description CollectorMemoryTrackerDefault implementation of
MemoryTrackerthat tracks allocations and allows setting a memory limit per collector
GetTermInfoUtility to get document frequency and total number of occurrences (sum of the tf for each doc) of a term. HighFreqTerms
HighFreqTermsclass extracts the top n most frequent terms (by document frequency) from an existing Lucene index and reports their document frequency.
HighFreqTerms.DocFreqComparatorCompares terms by docTermFreq HighFreqTerms.TotalTermFreqComparatorCompares terms by totalTermFreq IndexMergeToolMerges indices specified on the command line into the index specified as the first command line argument. SweetSpotSimilarityA similarity with a lengthNorm that provides for a "plateau" of equally good lengths, and tf helper functions. TermStats