Interface SnSuggestService
- All Known Implementing Classes:
DefaultSnSuggestService
public interface SnSuggestService
Service for suggest operations.
-
Method Summary
Modifier and TypeMethodDescriptioncreateSuggestRequest(String indexTypeId, SnSuggestQuery suggestQuery) Creates a suggest request.suggest(SnSuggestRequest suggestRequest) Starts a new suggest operation.
-
Method Details
-
createSuggestRequest
Creates a suggest request.- Parameters:
indexTypeId- - the index type idsuggestQuery- - the suggest query- Returns:
- the new suggest request
-
suggest
Starts a new suggest operation.- Parameters:
suggestRequest- - the suggest request- Returns:
- the suggest response
- Throws:
SnSuggestException- if an error occurs
-