Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

The box in the upper right hand corner that summarizes your current search does not parenthesize correctly.

Consider typing the following query in the search box: ([c] or [c++]) [multithreading] is:question. This really does return all 5052 [multithreading] questions that are also tagged either ([c] or [c++]) but the box shows:

picture of search result

Most people would consider this incorrect. The "and" operator takes precedence over the "or" operator.

Now consider the query [c] [or] ([c++] [multithreading])

This query returns all 95134 questions about either c or (c++ and multithreading), but the box in the upper right hand corner seems to indicate that you asked for the same thing as the previous query.

I can suggest two options: either actually include parenthesis when necessary (the first query above) or flatten into sum-of-products form before displaying.

Note: This bug report grew out of the discussion with respect to the support question I asked here: searching using both "and" and "or" (sum-of-products or product-of-sums).

share|improve this question

You must log in to answer this question.

Browse other questions tagged .