What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

How can I search for questions with certain tags and no other tags? So e.g. I want all questions with exactly the tag , and not questions that include but also include other tags

share|improve this question
1  
I think he wants questions with exactly the tags he specifies, and no other tags. Which is kind of an odd request –  Michael Mrozek Jan 15 '12 at 20:05
    
Yes, questions with Java without Tomcat, Maven, Eclipse, ... –  Tuomas Hietanen Jan 15 '12 at 20:10
    
And same also with other topics... –  Tuomas Hietanen Jan 15 '12 at 20:10
    
@Marvin That would work, if you're willing to manually exclude every tag in the system. He wants [tagA] AND [tagB] AND ![*] –  Michael Mrozek Jan 15 '12 at 20:21
    
@MichaelMrozek Good point. –  Marvin Pinto Jan 15 '12 at 20:27

2 Answers 2

up vote 1 down vote accepted

Since you entered this as a feature request, and because I don't know that it's possible to do this from the main search (as opposed to the data explorer), I'm going to post this as an answer:

There are something like, what; 30k tags on SO? A great many of these are synonymous with others, and many cover fairly esoteric things. As an example, the following tags exist:

Someone might add any of those tags to a question that you would otherwise want to show up in your query for "only the tag". There are hundreds - no, thousands - of other examples of kinds of tags which would render the kind of queries you want to do basically worthless.

You would be better off searching for your desired tags, and leaving off ones you do not want. Prefix the tag with a minus sign to do that.

So, in the search box:

[discussion] -[comments]

Or in a URL:

http://meta.stackexchange.com/questions/tagged/discussion+-comments
share|improve this answer
    
If I can ask to include tags with "+"-sign, is there a sign to exclude tags in url? –  Tuomas Hietanen Jan 15 '12 at 20:37
    
Added info about excluding tags to my answer. –  Andrew Barber Jan 15 '12 at 20:45

The following does not exclusively search but it gets stuff done; getting tags you don't want out.


Add the tags you don't want to your Ignored Tags list under preferences

http://stackoverflow.com/users/preferences/youridhere

The unanswered page with [java] search

java only search

Placing the blackberry tag in the ignored filter.

No more research

No more berries in sight.

Only if this happened IRL

Of course remember to remove it from the ignored filter when you are done with it

share|improve this answer

You must log in to answer this question.

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