Suggest
Autocomplete the user input
Changed onRuns a suggestion request on the data of a certain index.
get/suggest-api/v1/{indexname}/suggest
Request
- Base URLhttp://suggest-service
- URLhttp://suggest-service/suggest-api/v1/{indexname}/suggest
- AuthHTTP basic
Path parameters
indexnamestring required
index name that should be searched for autocompletions
Query parameters
userQuerystring required
the simple raw query typed by the user
limitinteger
A optional limit for the suggestions
filterstring
Optional comma-separated list of filter values.
Response
successful found results
Example response
[
{
"type": "keyword, brand, category, product"
}
]Changes
- breaking
added the new path request parameter
indexname - warning
deleted the
pathrequest parameterindex - info
api tag
Suggestadded - info
api tag
searchremoved
- breaking
- info
endpoint added
- info