| Package | Description |
|---|---|
| org.apache.lucene.misc |
Miscellaneous index tools.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Comparator<TermStats> |
HighFreqTerms.TermStatsQueue.comparator |
| Modifier and Type | Method and Description |
|---|---|
static TermStats[] |
HighFreqTerms.getHighFreqTerms(IndexReader reader,
int numTerms,
java.lang.String field,
java.util.Comparator<TermStats> comparator)
Returns TermStats[] ordered by the specified comparator
|
| Modifier and Type | Method and Description |
|---|---|
int |
HighFreqTerms.DocFreqComparator.compare(TermStats a,
TermStats b) |
int |
HighFreqTerms.TotalTermFreqComparator.compare(TermStats a,
TermStats b) |
protected boolean |
HighFreqTerms.TermStatsQueue.lessThan(TermStats termInfoA,
TermStats termInfoB) |
| Modifier and Type | Method and Description |
|---|---|
static TermStats[] |
HighFreqTerms.getHighFreqTerms(IndexReader reader,
int numTerms,
java.lang.String field,
java.util.Comparator<TermStats> comparator)
Returns TermStats[] ordered by the specified comparator
|
| Constructor and Description |
|---|
TermStatsQueue(int size,
java.util.Comparator<TermStats> comparator) |