public class HighFrequencyDictionary extends Object implements Dictionary
| Constructor and Description |
|---|
HighFrequencyDictionary(IndexReader reader,
String field,
float thresh)
Creates a new Dictionary, pulling source terms from
the specified
field in the provided reader. |
public HighFrequencyDictionary(IndexReader reader, String field, float thresh)
field in the provided reader.
Terms appearing in less than thresh percentage of documents
will be excluded.
public final BytesRefIterator getWordsIterator() throws IOException
DictionarygetWordsIterator in interface DictionaryIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.