I want to search questions tagged to only one tag. Like as example if I search questions from tags specifying one tag as "java", the result displays the questions tagged with "java" and other tags. But what if I want to search questions tagged with only single tag "java" and no other tags with it, can it be possible for such question search scenario?
1 Answer
No, there is no feature to limit search to just one tag.
You can only explicitly exclude tags, so you can search for [java] -[android]
and get any posts that are tagged java but do not have the android tag.
You can always use the Data Explorer for more specialist queries. I've created one that searches for questions with a specific single tag. The usual Data Explorer caveats apply; the database is refreshed just once a week on Sundays, so query results do not reflect more recent changes on the site.
-
1I am receiving the following error while running your query with 'javascript' tag: "The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information."– DoradCommented Oct 21, 2016 at 7:17
-
@Dorad: that is hardly an onerous query; it's a simple column match. The whole dataexplorer server appears to be having issues, I can't even log in with an external OpenID endpoint right now.– Martijn Pieters ModCommented Oct 21, 2016 at 7:25
x,y
problem. What you think you want to do is not only not possible, but not what you really want. Eliminating all tags but one is bound to remove things that you didn't want to remove; what about all the questions taggedpython
and the issue they're dealing with, like[String]
or[loops]
or the specific version of python (like[python-3.x]
)? A better way to address your issue is to notice which tags are reoccurring that you don't want ([numpy]
,[pandas]
,[pycharm]
) and explicitly exclude those tags, which is what Martijn Pieters♦ showed how to do.