org.apache.lucene.search.spell
Class LuceneDictionary
public
class
LuceneDictionary
extends Object
implements Dictionary
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
Author: Nicolas Maisonneuve Christian Mallwitz
public LuceneDictionary(
IndexReader reader, String field)
public final Iterator getWordsIterator()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.