Package de.cxp.ocs.client
Class SuggestClient
java.lang.Object
de.cxp.ocs.client.SuggestClient
- All Implemented Interfaces:
SuggestService
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestClient
(String endpointUrl) Initializes the SearchClient with the given endpointUrl and recommended settings.SuggestClient
(String endpointUrl, Consumer<feign.Feign.Builder> feignConfigurer) With this constructor the Feign::Builder can be configured. -
Method Summary
-
Constructor Details
-
SuggestClient
With this constructor the Feign::Builder can be configured.- Parameters:
endpointUrl
-feignConfigurer
-
-
SuggestClient
Initializes the SearchClient with the given endpointUrl and recommended settings.- Parameters:
endpointUrl
-
-
-
Method Details
-
suggest
public List<Suggestion> suggest(String index, String userQuery, Integer limit, String filter) throws Exception - Specified by:
suggest
in interfaceSuggestService
- Throws:
Exception
-