com.atlassian.confluence.search.didyoumean.lucene
Class LuceneTransposedSuggestionsProvider
java.lang.Object
com.atlassian.confluence.search.didyoumean.lucene.LuceneTransposedSuggestionsProvider
- All Implemented Interfaces:
- SuggestionsProvider
public class LuceneTransposedSuggestionsProvider
- extends Object
- implements SuggestionsProvider
Class that provides suggestions constructed from a single transposition of
supplied words.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneTransposedSuggestionsProvider
public LuceneTransposedSuggestionsProvider(com.atlassian.bonnie.ILuceneConnection didYouMeanLuceneConnection,
SuggestionFrequencyProvider suggestionFrequencyProvider)
getSuggestions
public Set<Suggestion> getSuggestions(String word)
- Specified by:
getSuggestions
in interface SuggestionsProvider
- Returns:
- suggestions built from a single transposition of the specified
word