The Suggester REST API returns a list of related terms for a search string, based on the data present in your database. Use the API to accept the characters that you type in a user interface field and return suggestions to autocomplete what you type. You can find and select the string from the list of suggestions. Use the Suggester API for searchable fields.
The API uses the GET method.
To use the API to provide a list of autocomplete suggestions for a searchable field, set the
suggester
property of the field to true and reindex the data.