Package com.attivio.sdk.autocomplete
Interface AutoCompleteProvider
-
- All Known Subinterfaces:
SharedResourceAutoCompleteProvider
public interface AutoCompleteProvider
Interface for beans that will provide suggestions for user queries.It is assumed that all providers are thread safe or have been configured via spring using scopes/pooling etc to be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<AutoCompleteSuggestion>
getSuggestions(QueryRequest req)
Get a list of query auto complete suggestions for the specified term.
-
-
-
Method Detail
-
getSuggestions
java.util.List<AutoCompleteSuggestion> getSuggestions(QueryRequest req) throws AttivioException
Get a list of query auto complete suggestions for the specified term. It should be assumed that this method will be called for each end user keystroke. Performance of the method should be designed accordingly. Note: The QueryRequest object should NOT be modified by providers.- Throws:
AttivioException
-
-