22

Is it possible to search for questions (is:question) containing some term and not containing a certain tag? Something like:

search term is:question ![tag]

From time to time I look for improperly tagged questions containing the tag name (product name) inside the question, but missing the tag.

Is there a way to search for questions not containing a certain tag?

3
  • Use mysearchterm is:q -[yourtag] Commented Sep 12, 2014 at 11:20
  • @AzizShaikh, thanks! I missed that documentation.
    – TLama
    Commented Sep 12, 2014 at 11:23
  • So it can be via RSS feed or even a click on search by tags.
    – The Roy
    Commented Apr 7, 2016 at 16:10

3 Answers 3

23

On the search help page, this is documented:

To exclude results from a tag, term or phrase, prefix it with - in your query: waffles -unicorns finds posts that mention tasty batter-based breakfasts without including mythical creatures, while [laurel] -[hardy] includes only posts pertaining to the first half of the classic comedy couple.

1
  • 1
    In a tab filter it's waffles not unicorns instead.
    – OrangeDog
    Commented Aug 27, 2016 at 12:47
6

For searches, you can apply a minus to a tag, so you could search for [java] -[android] and pull a feed from that.

1
  • Unfortunately, I see a lot of questions that should one or both of these tags, but don't. But we need more people to edit tags for that to happen.
    – Laurel
    Commented Apr 7, 2016 at 16:26
3

If you're using the new navigation, you can easily exclude tags, with a query like "java not android not gradle"

You can also "save" the query as a saved tab, so you can get back to it quickly:

enter image description here

0

You must log in to answer this question.

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