Package org.apache.lucene.search.spell
Interface Dictionary
-
- All Known Implementing Classes:
DocumentDictionary
,DocumentValueSourceDictionary
,FileDictionary
,HighFrequencyDictionary
,LuceneDictionary
,PlainTextDictionary
public interface Dictionary
A 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 InputIterator
getEntryIterator()
Returns an iterator over all the entries
-
-
-
Method Detail
-
getEntryIterator
InputIterator getEntryIterator() throws java.io.IOException
Returns an iterator over all the entries- Returns:
- Iterator
- Throws:
java.io.IOException
-
-