14

When trying to search for [tag1] [tag2-*] (logically [tag1] and [tag2-*] since default is AND) the search query gets turned into [tag2-a] or [tag2-b] or [tag2-c] ... or [tag2-z] and [tag1] which is not what I intended to search for.

This is equivalent to [tag2-a] or [tag2-b] or [tag2-c] ... or ([tag2-z] and [tag1]).

So, how do I search for ([tag1] and [tag2-a]) or ([tag1] and [tag2-b]) or ..... or ([tag1] and [tag2-z])?

Example : I wanted to search for all which have any of the status tags. So I tried this, [feature-request] [status-*] However, I ended up with all posts (, ) which have any of the status tags and only (which happened to be the last status tag in the query) with

4
  • [tag3-c]? Don't you mean [tag2-c]?
    – Cole Tobin
    Commented Aug 30, 2013 at 1:52
  • A concrete example, with links to the search results with what you've tried may help people understand. I think you mean you can search for this by searching for [feature-request] [status-*] but I don't know what you are trying to search for with the second half...
    – jmac
    Commented Aug 30, 2013 at 2:09
  • @jmac Does it make sense now?
    – asheeshr
    Commented Aug 30, 2013 at 2:17
  • ah, yes, that makes much more sense. So the issue is that you want to search for [feature-request] AND [status-*] but are getting search language that reads [feature-request] OR [status-*]. This is an interest conundrum, wish I knew the answer!
    – jmac
    Commented Aug 30, 2013 at 2:21

1 Answer 1

1

There is a way round. Include the parameter is:question in your search query and you will get the required results.

[feature-request][status-*] is:question

I noticed the behavior once before and opened the post Filtering by Favorite Tag including wildcard ("*") and related tag does not filter here on meta. It is the exact same problem as you described.

Not the answer you're looking for? Browse other questions tagged .