|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.search.spell.LuceneDictionary
public class LuceneDictionary
Lucene Dictionary: terms taken from the given field of a Lucene index. When using IndexReader.terms(Term) the code must not call next() on TermEnum as the first call to TermEnum, see: http://issues.apache.org/jira/browse/LUCENE-6
| Constructor Summary | |
|---|---|
LuceneDictionary(IndexReader reader,
java.lang.String field)
|
|
| Method Summary | |
|---|---|
java.util.Iterator |
getWordsIterator()
Return all words present in the dictionary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LuceneDictionary(IndexReader reader,
java.lang.String field)
| Method Detail |
|---|
public final java.util.Iterator getWordsIterator()
Dictionary
getWordsIterator in interface Dictionary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||