Package org.apache.lucene.search.spell
Class LuceneDictionary
java.lang.Object
org.apache.lucene.search.spell.LuceneDictionary
- All Implemented Interfaces:
Dictionary
Lucene Dictionary: terms taken from the given field of a Lucene index.
-
Constructor Summary
ConstructorDescriptionLuceneDictionary
(IndexReader reader, String field) Creates a new Dictionary, pulling source terms from the specifiedfield
in the providedreader
-
Method Summary
-
Constructor Details
-
LuceneDictionary
Creates a new Dictionary, pulling source terms from the specifiedfield
in the providedreader
-
-
Method Details
-
getEntryIterator
Description copied from interface:Dictionary
Returns an iterator over all the entries- Specified by:
getEntryIterator
in interfaceDictionary
- Returns:
- Iterator
- Throws:
IOException
-