SuggestClientInterface

A client for the merino suggest endpoint.

Use `SuggestClient::new` to create an instance, then call `SuggestClient::get_suggestions` to fetch suggestions for a query.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getSuggestions(query: String, options: SuggestOptions): String?

Fetches suggestions from the merino suggest endpoint for the given query.