If I search for "closed:1 ritchie" on Programmers it returns no results even though a search for just "ritchie" is returning some closed questions.
The same search on Stack Overflow does return the expected results.
I would have said that the search appears to be treating
closed:1 as a search term rather than an option, but the results page seems to indicate that it is being treated as an option:
search results for
It seems to only be this particular search term. A search for "closed:1 linux" (or indeed any other term) works as expected.
closed:1is only examining the actual question, whereas the general search includes content from the answers too (I don't think any of the closed questions have "ritchie" in the actual question). I'm not sure if that's the expected behaviour though.
closed:1 "ritchie"being applied (correctly or otherwise) as "give me all posts that have a non-null
ClosedDate, and from that subset look for the text ritchie," which would exclude answers from the running.
"search string" closed:1 is:question.