It depends on whether you have changed the search-as-you-type feature which is provided out-of-the-box with InstantSearch. By default, Algolia shows search results as soon as a user lands on a page, and it happens by performing a search with an empty query.
It is possible to set up your search so that a search request is only triggered after the user has entered a certain number of characters in order to save on search operations and cost.
However, please note that this may cause users to perceive the search to be lagging. Here is an example: https://codesandbox.io/s/limit-string-length-for-search-nbxbw?file=/src/app.js
To prevent this, you could display some placeholder content.
See here for more detail: https://support.algolia.com/hc/en-us/articles/4406210392209
Comments
0 comments
Article is closed for comments.