|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SuggestWord | |
|---|---|
| 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 | |
|---|---|
static Comparator<SuggestWord> |
SuggestWordQueue.DEFAULT_COMPARATOR
|
| Methods in org.apache.lucene.search.spell that return types with arguments of type SuggestWord | |
|---|---|
Comparator<SuggestWord> |
SpellChecker.getComparator()
|
| Methods in org.apache.lucene.search.spell with parameters of type SuggestWord | |
|---|---|
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 | |
|---|---|
void |
SpellChecker.setComparator(Comparator<SuggestWord> comparator)
Sets the Comparator for the SuggestWordQueue. |
| Constructor parameters in org.apache.lucene.search.spell with type arguments of type SuggestWord | |
|---|---|
SpellChecker(Directory spellIndex,
StringDistance sd,
Comparator<SuggestWord> comparator)
Use the given directory as a spell checker index with the given StringDistance measure
and the given Comparator for sorting the results. |
|
SuggestWordQueue(int size,
Comparator<SuggestWord> comparator)
Specify the size of the queue and the comparator to use for sorting. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||