android-components / mozilla.components.browser.storage.memory / InMemoryHistoryStorage / getSuggestions

# getSuggestions

`fun getSuggestions(query: String, limit: Int): List<SearchResult>` (source)

Overrides HistoryStorage.getSuggestions

Retrieves suggestions matching the query.

### Parameters

`query` - A query by which to query the underlying store.

Return
A List of SearchResult matching the query, in no particular order.