I can search on user:me [sockets] to find all questions that I've written for a specific tag.

But I would like a feature that could be used to find all questions that I've answered for a specific tag.


I noticed that user:me [sockets] found both questions that I've written and questions that I've answered. Consider this a request to only get questions that I've answered.

  • I don't get the difference between "all questions that I've written" and "all questions that I've answered" – YOU Mar 31 '11 at 8:16
  • a) I wrote the question. b) You wrote the question and I answered it. – jgauffin Mar 31 '11 at 8:17
  • ah, ok, I don't know how to search that, but for api, may be like this - api.stackoverflow.com/1.1/users/70386/tags/sockets/top-answers? – YOU Mar 31 '11 at 8:25

You can now do this using the is: operator (which will be added to the help page in the next build). For example, the query you're after would be: user:me [sockets] is:answer, or so everyone can test it: user:70386 [sockets] is:answer (try here)

The is: operator lets you specify is:answer or is:question, allowing you to get only those type of results.

Another example usage would be the reverse, all the questions you asked in that tag would be: user:70386 [sockets] is:question (try here).

This is currently live, only the /search help text needs to be updated, which will happen on the next build.

  • 2
    Terrific. Maybe this is asking too much, but I'd find is:comment extremely useful. (I'm often paging through my comments to find something specific, so is:comment in combination with user:me would help me a lot.) – Hendrik Vogt Apr 26 '11 at 18:27
  • @Hendrik - Unfortunately we don't index comments at all, if we change anything on that front I'll of course add it. – Nick Craver Apr 26 '11 at 19:13
  • Ah, OK, now I understand - thanks for the explanation. – Hendrik Vogt Apr 26 '11 at 19:15

You must log in to answer this question.

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