Consideration: Autocomplete minimum query string length before sending request to Algolia
https://wordpress.org/support/topic/autocomplete-search-start-only-after-3-characters/
Add a setting for minimum amount of characters to be typed before starting to send to Algolia
At absolute minimum, documentation on how to potentially edit template files for this.
Yes please . Also please check with woodmart theme and settings under, tried to add debounce manually there was no way to make it work .
Hi @artcila
Just to be certain, debouncing is different than minimum characters before sending.
That said, as is, the debounce details are for just Autocomplete.
That also said, I found this codepen link https://codepen.io/vvo/pen/rMgaGJ that I believe is showing how to add in a debounce for the searchBox widget and most specifically the queryHook property:
queryHook: _.debounce(function(query, search) {
search(query);
}, 500, {leading: true, trailing: true, maxWait: 200})
Looks like it's utilizing Lodash for the _.debounce() function.
Docs on this parameter: https://www.algolia.com/doc/api-reference/widgets/search-box/js/#widget-param-queryhook