Package org.apache.lucene.search.spell
Class SuggestWord
- java.lang.Object
-
- org.apache.lucene.search.spell.SuggestWord
-
public final class SuggestWord extends java.lang.Object
SuggestWord, used in suggestSimilar method in SpellChecker class.Default sort is first by score, then by frequency.
-
-
Constructor Summary
Constructors Constructor Description SuggestWord()
Creates a new empty suggestion with null text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-