SuggestWord (Lucene 3.6.2 API)
Keywords: org.apache.lucene.search.spell.SuggestWord class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.lucene.search.spell
Class SuggestWord

    java.lang.Object
      org.apache.lucene.search.spell.SuggestWord

    public final class SuggestWord

extends Object

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()`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### score

    public float score

  the score of the word

### freq

    public int freq

  The freq of the word

### string

    public String string

  the suggested word

Constructor Detail

### SuggestWord

    public SuggestWord()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD