Note: I know that this topic has almost certainly been covered many times before, however, hopefully I'm raising some new points and suggestions (ironically I wasn't able to find many related questions anyway).

This is the process I went through when looking for answers / duplicates before posting this question on Stack Overflow:

  1. Search using the Stack Overflow search - a couple of attempts using different search queries (I can't remember the exact words used), no joy.
  2. A quick Google search using site:stackoverflow.com, still no joy.
  3. I start drafting up my question - the related titles box still shows no matches.
  4. Finally I submit the question and within 5 minutes someone points out that the related questions side bar contains many related questions.

Throughout this I was very aware that my question was probably very common and so was actively looking for duplicates, but I still couldn't find any. What I find most distressing, however, is that all 4 places showed completely different results!

Now I understand that search is difficult, and I even understand the technical reasons why each place returned different hits, however as a user this is all a bit rubbish! Stack Overflow is fairly mature now - I feel that search is currently the most lacking feature.

Some general observations and suggestions:

  • Users shouldn't feel the need to try different search methods (e.g. Google or the title search done when composing a new question) to see if they produce different results.
  • Although a Google site: search works fairly well, the Stack Overflow search is far better at displaying the matching questions. Also, given the massive amount of additional information the Stack Overflow search has (question view counts, votes, tags, etc...), Stack Overflow should (at least in theory) be able to produce a search.
  • Many users tend to phrase searches as a question, and so whatever search method is optimal when searching on the main screen should be fairly good when searching for duplicate questions and visa-versa (there shouldn't be a need to make them behave differently)
  • In the above example it appears that the most effective search is a text search combined with a search on tags (what I assume the related question search does) - it would be good to be able to do this sort of search on the main screen. Perhaps the search could look at the range of tags on the current hits and suggest tags that the user might want to weight the search in favour of / against.
  • Similarly, the compose question page should show the related question results - if necessary updating as the user types their question / enters tags. If tags have a strong effect on the effectiveness of the search then it might be an idea to prompt the user to enter tags first by moving the tags field closer to the title field (just a suggestion - not sure this is a good one though)
  • Binary filtering by tag (in general) strikes me as a bad idea as there is a good chance that questions haven't been tagged consistently.
  • Favouring popular questions also strikes me as a bad idea as often the more difficult / specific questions end up with few views / votes / answers.

I know that search is difficult, but I think that conversely the benefits are pretty hefty.

I also understand that other people have probably already put a lot more thought into this than me - these are all just suggestions (hopefully helpful ones).


2 Answers 2


One of your main suggestions got implemented: The compose question page does now show a list of Similar Questions, which is updating as the user types their question / enters tags.

Citing Jeff from "Feedback requested: Similar Questions displayed in sidebar on /ask":

Here's how it works:

  • it is specific to the /ask page
  • you must have entered a title (any length) and a minimum body length of 220 characters.
  • every 45 seconds while you compose your question, we will query for Similar Questions based on the title, body, and tags you have entered
  • if we found a different set of similar questions since the last time we checked, the sidebar on the right will update with a fade animation and the Similar Questions, replacing the How to Format help.

I am just a newbie as you can see. But would it help to clearly state/ point out what your exact question is ? (if your question is "how to find similar questions" you will see that the search results are actually quite related) In other words if this question was phrased more as a question it may yield more related results I suppose. I must say that I also find it difficult to find similar questions from time to time.

  • Your 'question' seems more a feature request list, like you tagged it. In other words maybe you should phrase your question. where can i submit a feature-request ? (with the topic : search
    – HCP
    May 16, 2011 at 15:45

You must log in to answer this question.

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