#community-help

Issue with `typesense-instant-search-adapter` Filters

TLDR Mathieu had trouble applying a default filter for the typesense-instant-search-adapter. They resolved their issue after Jason suggested checking the version of the adapter, which turned out to be outdated.

Powered by Struct AI

1

4
16mo
Solved
Join the chat
Jun 28, 2022 (16 months ago)
Mathieu
Photo of md5-914a8b39b82fd99b8ecd985427660deb
Mathieu
12:46 PM
Hi all ! I have an issue using the typesense-instant-search-adapter: I want to apply a default filter to all my searches. I found this piece of documentation https://github.com/typesense/typesense-instantsearch-adapter#configure which states I should use the configure widget but I really don't get how to use it...
12:59
Mathieu
12:59 PM
FYI I'm using the Vue InstantSearch component, so I tried :
<ais-configure
  :filters="`category.channels:=[${channel}]`"
></ais-configure>

But I cannot see the filter being applied in the requests 😞
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:10 PM
Mathieu Could you make sure you're using v2.4.1 of the adapter?

Here's more context around this issue: https://github.com/typesense/typesense-instantsearch-adapter/issues/110#issuecomment-1112633962
Jun 29, 2022 (16 months ago)
Mathieu
Photo of md5-914a8b39b82fd99b8ecd985427660deb
Mathieu
07:50 AM
Indeed... I was using the 2.4.0 version :face_palm: thanks a million !

1