org.silverpeas.search.searchEngine.model
Class SearchCompletion
java.lang.Object
org.silverpeas.search.searchEngine.model.SearchCompletion
public class SearchCompletion
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchCompletion
public SearchCompletion()
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.