5

The search seems to ignore the new duplicate links when I search for linked questions. (These links have the heading "This question already has an answer here".)

An example for the question "Headers already sent by PHP":

https://stackoverflow.com/search?tab=newest&q=url:%22https://stackoverflow.com/q%2a/8028957/%2a%22%20is: question%2aclosed:1

Notice that newer questions marked as duplicate are absent here, which indicates that the new duplicate links are being ignored. I'm making a request to include them.

Here are duplicates not mentioned in the example above:

2
  • Can you provide an example or two of duplicates that are missing from the search output? The most recent one I see in the results is PHP header redirection not working. Are there newer ones not picked up by search?
    – Ben Collins Mod
    Commented Jun 10, 2013 at 16:39
  • @BenCollins: I've added them.
    – Peter O.
    Commented Jun 10, 2013 at 17:20

1 Answer 1

2

This behavior is by design. The questions to which you refer are all closed, and closed questions are not shown in search results unless you specify a closed state in your search terms (as you demonstrate in your "and more" link).

However, you may be interested to know that a UI improvement for finding linked questions is imminent.

3
  • No, even if I add "closed:1" to the example search query, new duplicate questions still won't appear in the search results.
    – Peter O.
    Commented Jun 10, 2013 at 18:08
  • @PeterO, I'll take a closer look to see if search is excluding questions incorrectly. I've retagged as status-review.
    – Ben Collins Mod
    Commented Jun 10, 2013 at 18:12
  • @PeterO. unfortunately, you're right, but this is still by design. As of recently, duplicates no longer contain links to the duplicated question in their bodies, which means the those posts will not appear in the results of the search query you specified (unless the OP of the duplicate explicitly links to the duplicated question).
    – Ben Collins Mod
    Commented Jun 11, 2013 at 21:52

You must log in to answer this question.

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