| java.lang.Object org.apache.lucene.search.spell.HighFrequencyDictionary
HighFrequencyDictionary | public class HighFrequencyDictionary implements Dictionary(Code) | | HighFrequencyDictionary: terms taken from the given field
of a Lucene index, which appear in a number of documents
above a given threshold.
When using IndexReader.terms(Term) the code must not call next() on TermEnum
as the first call to TermEnum, see: http://issues.apache.org/jira/browse/LUCENE-6
Threshold is a value in [0..1] representing the minimum
number of documents (of the total) where a term should appear.
Based on LuceneDictionary.
|
Inner Class :final class HighFrequencyIterator implements Iterator | |
HighFrequencyDictionary | public HighFrequencyDictionary(IndexReader reader, String field, float thresh)(Code) | | |
|
|