Module merino_web::endpoints::suggest
source · [−]Expand description
Web handlers for the suggestions API.
Structs
Query parameters
The response the API generates.
Customizes the output format of Suggestion
.
Suggest content in response to the queried text.
Functions
Configure a route to use the Suggest service.
Log a suggestion request, respecting the log_query setting passed, and formatting all fields in a way that is helpful to our downstream log handlers. This primarily means that fields don’t generate internal stringified JSON.