org.silverpeas.search
Interface SearchEngine

All Known Implementing Classes:
SimpleSearchEngine

public interface SearchEngine

A SearchEngine search the web'activ index and give access to the retrieved index entries.


Method Summary
 PlainSearchResult search(QueryDescription query)
          Search the index for the required documents.
 Set<String> suggestKeywords(String keywordFragment)
          gets a list of suggestion from a partial String
 

Method Detail

search

PlainSearchResult search(QueryDescription query)
                         throws ParseException
Search the index for the required documents.

Parameters:
query -
Returns:
Throws:
ParseException

suggestKeywords

Set<String> suggestKeywords(String keywordFragment)
gets a list of suggestion from a partial String

Parameters:
keywordFragment - string to execute the search
Returns:
a set of result sorted by alphabetic order


Copyright © 2016 Silverpeas. All Rights Reserved.