Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I can search for my own answers using user:me is:answer and I can search for closed questions using closed:1 but can I search for my answers to closed questions?

Put another way can I search for any closed questions which I have answered?

share|improve this question
up vote 3 down vote accepted

AFAIK, that is not possible using /search.

is:answer will limit results to only answers; closed:1 applies only to questions. The result sets for both filters are therefore mutually exclusive which means we can never get an intersection.

To achieve what you want, the results of user:me is:answer needs to be filtered based on the status of the questions they are linked to. I don't think such join operations are supported by the search.

Sounds like a job for SEDE.

I'm not familiar with SEDE, but here's a query I hacked together by copying bits from existing queries: Query my answers to closed questions (you can change the user id and site to suit your needs).

share|improve this answer
Thanks. Sadly my site (Mathematica) is not on Data Explorer yet but I'll gladly try this when it is. – Mr.Wizard Sep 26 '12 at 9:22
Mathematica.SE has been added to the Data Explorer and your query works. Thanks again! – Mr.Wizard Nov 19 '12 at 7:27

You must log in to answer this question.

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