Uses of Class
org.apache.lucene.search.spell.SuggestWord
-
Packages that use SuggestWord Package Description org.apache.lucene.search.spell Suggest alternate spellings for words. -
-
Uses of SuggestWord in org.apache.lucene.search.spell
Fields in org.apache.lucene.search.spell with type parameters of type SuggestWord Modifier and Type Field Description static Comparator<SuggestWord>
SuggestWordQueue. DEFAULT_COMPARATOR
Methods in org.apache.lucene.search.spell that return types with arguments of type SuggestWord Modifier and Type Method Description Comparator<SuggestWord>
SpellChecker. getComparator()
Methods in org.apache.lucene.search.spell with parameters of type SuggestWord Modifier and Type Method Description int
SuggestWordFrequencyComparator. compare(SuggestWord first, SuggestWord second)
int
SuggestWordScoreComparator. compare(SuggestWord first, SuggestWord second)
protected boolean
SuggestWordQueue. lessThan(SuggestWord wa, SuggestWord wb)
Method parameters in org.apache.lucene.search.spell with type arguments of type SuggestWord Modifier and Type Method Description void
SpellChecker. setComparator(Comparator<SuggestWord> comparator)
Sets theComparator
for theSuggestWordQueue
.Constructor parameters in org.apache.lucene.search.spell with type arguments of type SuggestWord Constructor Description SpellChecker(org.apache.lucene.store.Directory spellIndex, StringDistance sd, Comparator<SuggestWord> comparator)
Use the given directory as a spell checker index with the givenStringDistance
measure and the givenComparator
for sorting the results.SuggestWordQueue(int size, Comparator<SuggestWord> comparator)
Specify the size of the queue and the comparator to use for sorting.
-