| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.search.spell.SuggestWord
public final class SuggestWord
SuggestWord, used in suggestSimilar method in SpellChecker class.
Default sort is first by score, then by frequency.
| Field Summary | |
|---|---|
 int | 
freq
The freq of the word  | 
 float | 
score
the score of the word  | 
 String | 
string
the suggested word  | 
| Constructor Summary | |
|---|---|
SuggestWord()
Creates a new empty suggestion with null text.  | 
|
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public float score
public int freq
public String string
| Constructor Detail | 
|---|
public SuggestWord()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||