Hello guys, got a quick question regarding to use ...
# community-help
z
Hello guys, got a quick question regarding to use
<InstantSearch />
with typesense. Context from our side is we are migrating from Algolia to Typesense, and so in our UI we were using
<InstantSearch />
and
<Configure />
widget So we've successfully adapted typesense search client with
<InstantSearch />
by using the typesense-instantsearch-adaptor lib, that's really awesome. My question comes to the
<Configure />
widget, where we were passing filters to algolia like
<Configure filters={filters} />
, now with typesense, because typesense's filter param is called
filter_by
, should we change to
<Configure filter_by={filters} />
? I remember once I should change it to
filter_by
but now it turns out I should keep using
filters
, so I'm a little not sure and want to ask and confirm from the community. Thank you!
j
Good question. I know this is a bit confusing, but you would continue to use the same prop name, but use the Typesense syntax format inside that prompt. So something like this:
<Configure filters={typesense_filter_by_string} />
z
@Jason Bosco Gotcha, thank you so much for the clarification!
👍 1