typesense-instantsearch-adapter
typesense-instantsearch-adapter copied to clipboard
Switching presets once user starts typing
Description
Is there a way without impacting performance to dynamically switch presets inside TypesenseInstantSearchAdapter
? I would like to switch presets when a user starts typing for instance.
You could use the updateConfiguration()
method of the adapter: https://github.com/typesense/typesense-instantsearch-adapter/blob/def91b80355679c048f81d254aab4e770cb95e07/src/TypesenseInstantsearchAdapter.js#L78C3-L78C22