Package org.apache.lucene.search.spell
Interface Dictionary
-
- All Known Implementing Classes:
DocumentDictionary,DocumentValueSourceDictionary,FileDictionary,HighFrequencyDictionary,LuceneDictionary,PlainTextDictionary
public interface DictionaryA simple interface representing a Dictionary. A Dictionary here is a list of entries, where every entry consists of term, weight and payload.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputIteratorgetEntryIterator()Returns an iterator over all the entries
-
-
-
Method Detail
-
getEntryIterator
InputIterator getEntryIterator() throws IOException
Returns an iterator over all the entries- Returns:
- Iterator
- Throws:
IOException
-
-