good afternoon, in the documentation it says that ...
# community-help
l
good afternoon, in the documentation it says that if I want to filter by OR conditions for the same field I should do "country: [USA, UK]", but if for the same field I want it to have 2 AND conditions? For example, in my schema I have a field _tags which is an array, I want to filter based on this array having at the same time "br" and "shoppable", how to do it?
j
Could you try this:
Copy code
_tags:=br && _tags:=shoppable
l
thanks! it still doesn't work, is it because my field is an array?
when I use _tags:[br,shoppable] it brings results, but not in the logic I need
j
May I know what version of Typesense you’re using?
l
yes! "typesense": "^1.5.4",
j
Sorry I meant the Typesense Server version
l
Typesense v0.24.1
sorry, i found the problem
it was my env, but thanks for your help about filter_by fields
👍 1
j
May I know what the issue with your env was that fixed the issue? Were you running a different Typesense server version?
l
no, in my env I am alternating the collection of documents I access, to access the products
👍 1