com.atlassian.confluence.search.didyoumean
Interface SuggestionsProvider

All Known Implementing Classes:
LuceneNGramSuggestionsProvider, LuceneTransposedSuggestionsProvider

public interface SuggestionsProvider

A class that provides suggestions that are either candidate correct spellings or simply words that similar.


Method Summary
 java.util.Collection<Suggestion> getSuggestions(java.lang.String word)
           
 

Method Detail

getSuggestions

java.util.Collection<Suggestion> getSuggestions(java.lang.String word)
Returns:
suggestions for the specified word, empty collection otherwise.
Throws:
IndexIOException - if there was an error reading the index while processing this request


Copyright © 2003-2010 Atlassian. All Rights Reserved.