Transforming Query String with Vue3-Instasearch
TLDR Ra asked how to modify a search query in real-time. Jason suggested using 'search-function' in vue-instantsearch.
1
1
1
Jun 30, 2022 (18 months ago)
Ra
09:43 PMWhat is the recommended way to transform a query string on-the-fly as the user types in the search box?
Using vue3-instasearch and the ais-searchbox does not seem to expose any method for this https://www.algolia.com/doc/api-reference/widgets/search-box/vue/ . I found this in the instantsearch.js only https://github.com/typesense/showcase-books-search/blob/9fef28b894c79240aebbd4ff5c4b8e0b06441dc9/src/app.js#L185-L191
Jason
09:44 PMsearch-function
: https://github.com/typesense/typesense-vue-instantsearch-demo/blob/0b30a5b62fc938196c24658c1ea8727621d750de/src/App.vue#L21Jason
09:46 PM1
1
Ra
09:53 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Resolving Typesense Setup Issues with VueJS
A sought help with setting up Typesense in a CDN VueJS application. Jason guided him to adjust the initialization and provided a solution to an undefined item warning, resulting in a successful setup.
Solving Issues with Vue 3 and Typesense Setup
Ra was having issues setting up Typesense UI with Vue 3 and encountered input error in the Vue3 demo. Jason advised checking event handlers and updating both demos to the latest version of vue-instantsearch. The upgrades resolved the issue.
Troubleshooting Typesense Setup and Understanding Facets and Keywords
Demitri encountered errors when exploring Typesense for the first time. Jason guided them through troubleshooting and discussed facets, keyword settings, and widget configurations. Helin shared a Python demo app and its source code to help Demitri with their project.