3

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?

5
  • See this question: meta.stackexchange.com/q/148977/230957
    – 3ventic
    Commented Jan 29, 2014 at 8:38
  • Yeah, I think a data explorer query is the best option.
    – MBraedley
    Commented Jan 29, 2014 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
    Commented Jan 29, 2014 at 12:21
  • 1
    @Robotnik it's now updated weekly. So not 100% coverage, but pretty good.
    – MBraedley
    Commented Jan 29, 2014 at 12:52
  • @MBraedley - good spot! Thanks :-)
    – Robotnik Mod
    Commented Jan 29, 2014 at 12:55

1 Answer 1

5

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.

4
  • 1
    Yeah, I'm going to fix that query to be a bit better once I get the chance.
    – MBraedley
    Commented Jan 29, 2014 at 12:53
  • 1
    Doing that query the "proper" way was harder than I originally thought. Note that results may not be up to date.
    – MBraedley
    Commented Jan 30, 2014 at 3:25
  • @MBraedley - Heh, I was having a jab at it too. Nice work
    – Robotnik Mod
    Commented Jan 30, 2014 at 3:36
  • I recommend you add this SEDE query to Interesting queries on Data Explorer
    – Mark Hurd
    Commented Feb 1, 2014 at 6:56

You must log in to answer this question.

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