Closed crawazaky closed 4 years ago
Waiting for a proper answer, what I'm doing is using the filter() function to filter any search result entry with the styles array containing one of the tag I want to exclude.
Won't share my code as it's pretty dirty. Hopefully there is a built-in function to do the same.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Hello,
My list object look like this:
and my option look like this:
I am trying to remove from my search results the entries where the
styles
has certain tag(s).I believe a search query like this
test !tagA
should give my no result as both items withtest
in their name has atagA
styles.But actually it will still show me
id: 1
as it containtagB
.. Which is not the logic I expected. I would like to totally exclude the entries when any key contain a value I excluded using!<keyword>
.My final goal is to be able to select many tags to exclude and append them to my query before running the search like this:
<keyword> !<tag1> !<tag2> !<tag3>
Is that possible or am I missing something ?
thanks a lot