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
 Collection<Suggestion> getSuggestions(String word)
           
 

Method Detail

getSuggestions

Collection<Suggestion> getSuggestions(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-2012 Atlassian. All Rights Reserved.