Whilst researching for the Version Differences Tag Cleanup Post, I attempted to find questions that were only tagged with , and no other tag. As MBraedley points out, I missed a couple.

What would have been neat, is the ability to search for questions that are only tagged with the tag(s) specified. Is this possible?

For example, searches we can currently perform:

But I cannot list every tag with the '-' operator (despite the massive impracticality on my part, I daresay there's a limit on search text length). So, is there a search I can perform to exclude all tags, except the one I specified?

  • See this question: meta.stackexchange.com/q/148977/230957 – 3ventic Jan 29 '14 at 8:38
  • Yeah, I think a data explorer query is the best option. – MBraedley Jan 29 '14 at 12:01
  • @3ventic/MBraedley - IIRC the data explorer can be out of date by almost a month, which is fine for slower moving tags, but the data for the ones that see more activity would go stale fairly quickly. Nevertheless if its the only possible way at this time, Then I guess I'll deal :). Care to add it as an answer? – Robotnik Mod Jan 29 '14 at 12:21
  • 1
    @Robotnik it's now updated weekly. So not 100% coverage, but pretty good. – MBraedley Jan 29 '14 at 12:52
  • @MBraedley - good spot! Thanks :-) – Robotnik Mod Jan 29 '14 at 12:55

You can use this jsfiddle to use the StackExchange API to find questions that only have one tag. Specify the tag at the top of the script in var tag = 'taghere'.

Alternatively, use the Data Explorer.

  • 1
    Yeah, I'm going to fix that query to be a bit better once I get the chance. – MBraedley Jan 29 '14 at 12:53
  • @MBraedley - If I wasn't in bed on my mobile I'd do it myself, but if you do, make the tag name into a changable variable :-) – Robotnik Mod Jan 29 '14 at 12:58
  • 1
    Doing that query the "proper" way was harder than I originally thought. Note that results may not be up to date. – MBraedley Jan 30 '14 at 3:25
  • @MBraedley - Heh, I was having a jab at it too. Nice work – Robotnik Mod Jan 30 '14 at 3:36
  • I recommend you add this SEDE query to Interesting queries on Data Explorer – Mark Hurd Feb 1 '14 at 6:56

You must log in to answer this question.

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