org.silverpeas.search.searchEngine.model
Class SearchCompletion

java.lang.Object
  extended by org.silverpeas.search.searchEngine.model.SearchCompletion

public class SearchCompletion
extends Object


Constructor Summary
SearchCompletion()
           
 
Method Summary
 Set<String> getSuggestions(String query)
          gets a list of keyword which start with the query parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchCompletion

public SearchCompletion()
Method Detail

getSuggestions

public Set<String> getSuggestions(String query)
gets a list of keyword which start with the query parameter

Parameters:
query - the String used to get the keywords list
Returns:
a list of keywords sorted by natural order


Copyright © 2016 Silverpeas. All Rights Reserved.