Limit results returned by query suggestions plugin

Is it possible to limit the number of results returned by the query suggestions plugin? We are currently seeing up to 5 entries but only want to show a max of 2.

Hi @jason5,

As per Adding Query Suggestions you can pass getSearchParams function so can include hitsPerPage to limit hits to required length.

Algolia has some Sandboxes using Autocomplete with Query Suggestions as examples.

Hope this helps.

Thanks…not sure how I missed that in the docs!