com.atlassian.confluence.search.didyoumean.lucene
Class LuceneTransposedSuggestionsProvider

java.lang.Object
  extended by com.atlassian.confluence.search.didyoumean.lucene.LuceneTransposedSuggestionsProvider
All Implemented Interfaces:
SuggestionsProvider

public class LuceneTransposedSuggestionsProvider
extends java.lang.Object
implements SuggestionsProvider

Class that provides suggestions constructed from a single transposition of supplied words.


Constructor Summary
LuceneTransposedSuggestionsProvider(com.atlassian.bonnie.ILuceneConnection didYouMeanLuceneConnection, SuggestionFrequencyProvider suggestionFrequencyProvider)
           
 
Method Summary
 java.util.Set<Suggestion> getSuggestions(java.lang.String word)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneTransposedSuggestionsProvider

public LuceneTransposedSuggestionsProvider(com.atlassian.bonnie.ILuceneConnection didYouMeanLuceneConnection,
                                           SuggestionFrequencyProvider suggestionFrequencyProvider)
Method Detail

getSuggestions

public java.util.Set<Suggestion> getSuggestions(java.lang.String word)
Specified by:
getSuggestions in interface SuggestionsProvider
Returns:
suggestions built from a single transposition of the specified word


Copyright © 2003-2010 Atlassian. All Rights Reserved.