algolia / instantsearch

⚡️ Libraries for building performant and instant search and recommend experiences with Algolia. Compatible with JavaScript, TypeScript, React and Vue.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
MIT License
3.59k stars 503 forks source link

fix(algoliasearch): v5 does not default threshold to 0 #6251

Closed aymeric-giraudet closed 6 days ago

aymeric-giraudet commented 1 week ago

Summary

FX-2926

Result

The v5 of the API client does not do extra logic like it did before for ease of maintenance, so for now we have to do this on our end.

codesandbox-ci[bot] commented 1 week ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 0daab2a2cfd6e7607236e3f7317cefae53a5bddd:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration
Haroenv commented 1 week ago

a couple tests also need to change, just update snapshot to take this default in account