public class LuceneDictionary extends java.lang.Object implements Dictionary
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
field |
private IndexReader |
reader |
Constructor and Description |
---|
LuceneDictionary(IndexReader reader,
java.lang.String field)
Creates a new Dictionary, pulling source terms from
the specified
field in the provided reader |
Modifier and Type | Method and Description |
---|---|
InputIterator |
getEntryIterator()
Returns an iterator over all the entries
|
private IndexReader reader
private java.lang.String field
public LuceneDictionary(IndexReader reader, java.lang.String field)
field
in the provided reader
public final InputIterator getEntryIterator() throws java.io.IOException
Dictionary
getEntryIterator
in interface Dictionary
java.io.IOException