I am trying to create a new custom question filter in the new-nav tabs that shows all questions that have at least one of multiple tags, yet do not contain any of certain tags.
An example of what I am currently able to do:
java or c# not generics not array
The problem is that or
is executed after not
, so the exclusion is only applied to the second tag. How can I indicate the order of operation for this search query?
Idea 1:
What I basically would like to enter into the question search bar is:
(java or c#) not (generics or array)
Or in the top search bar format:
([java] or [c#]) -([generics] or [array])
([java] or [c#]) -[generics] -[array]
Parentheses, however, are not supported.
Idea 2:
Another way to fix this problem would be to repeat the "not" clauses after each desired tag:
java not generics not array or c# not generics not array
This won't work though since every tag is only allowed to be used once in the search bar. This way is also just plain messy.
[tag1] or [tag2] -[tag3] -[tag4]
in the top bar and it does indeed work correctly. However, saving the new-nav tab and refreshing/switching from and to it does not persist the correct search. The hack... Is bookmarking the link the search produces. I've tested it, and this does seem to work. That the correct behavior does not persist after saving feels like a bug to me.[bug] or [support] -[discussion] -[tags]
(That's a link, though it may not look like it.)[java] or [c#] -[android]
and I still see android questions.-[android]
it does appear it's filtering some of the questions... But not all of them. Adding an asterisk proves that it's definitely not working... Very odd.Find questions with one of multiple tags and exclude some tags
"