Hey guys Is there a way to use the `infix` feature...
# community-help
g
Hey guys Is there a way to use the
infix
feature with
filter_by
? In our use-case, we are trying to set up the global filter
q
to work with exact phrase search (by surrounding it with quotes), but this will stop infix to work. So we want to give the user another place to search with infix, using
filter_by
a
Hey @Gabriel Marinho, In filter_by, you can use a non-exact verbatim by not using the '=' sign, this will do a word-level partial match. Example:
Copy code
filter_by=categories:=Shoe
Will only match categories with exact value
Shoe
Copy code
filter_by=categories:Shoe
On the other side, will match categories with Shoe Rack, Outdoor shoe and so on
h
Alternatively, you can also check the multisearch option where you can pass phrase search in one and infix search in the other.
g
Thank you guys