I would like to do a search on stackoverflow for all questions tagged:
([concurrent] or [multithreading]) and ([c] or [c++])
I'd even be happy if I could do a search for
([c] or [c++]) and [multithreading]
.
But I can't figure out the syntax.
Edit: part of the problem (as pointed out be @Hugo) is that the box in the upper right corner that tells you what you queried doesn't parenthesize correctly. Querying ([c] or [c++])[multithreading] is:question
(which really returns the right thing) says it returns:
(which is the same picture you'll get if you query [c] or ([c++][multithreading])
!
Edit 2: A second part of the problem is that the or
operator seems to behave differently than the [or]
operator. Sometimes one works, sometimes not, sometimes the other. A third part of the problem is that adding the is:question
qualifier seems to dramatically change the results. (See the comments below @Hugo's answer.)
I've tried
[multithreading]([c] or [c++])
(and ([c] or [c++]) [multithreading]
) but get questions tagged [c] or ([c++] and [multithreading])
.
I've tried
[multithreading]([c] [or] [c++])
bug got questions tagged ([multithreading] and [c]) or [c++]
.
I've tried
[c][multithreading] or [c++][multithreading]
but get questions tagged
[multithreading] or ([c++] and [c] and [multithreading])
???
On the other hand
[c][multithreading] [or] [c++][multithreading]
seems to work but [c][multithreading] [or] [c++][multithreading] is:question
returns nothing.
Even stranger querying [multithreading][c] or [multithreading][c++]
gives questions tagged [c] or ([multithreading] and [multithreading] and [c++])
(yes, [multithreading]
twice!)
How do I do a search that involves both "and" and "or" operators? Is there a predictable syntax I should be using?