Search bar does not work correctly
Search bar does not work correct.
If I click on some question and try to search I don't get search results but only the list of all questions. If I try to search on the main page everything is OK.
Tested here and elsewhere.
Edit:
The search bar problem is still there. It is impossible to search, except on the main page. This is an important issue, scince if a user comes from google (in 99% it is some non-main-page) and reads an answer then he often tries to find something similar on the website, but he doesn't get the result. Then you lost this visitor.
Comments
We are going to change the way search works, hopefully in a couple of weeks you will be able to see that, it will work more like in Quora - in a dropdown. Also, the first stage of search will be run only against question titles and later tags. Current search will work as "second stage" - as full content search, there won't be a full page refresh during the time you type into the search bar.
@Evgeny Thank you for your efforts!
Is this feature implemented?
Yes it is implemented.
Great, thanks! Just curious though, how come it doesn't start searching until 4 characters are entered ? Is this configurable? By searching I mean, we see the loading symbol and a drop down appears
Oh the issue is that short queries don't work. Yes this remains. This search I think should be done differently from how it works for longer strings. The full text search breaks for short inputs because very short words are usually not indexed. We would need to use either a substring or some other method like ngram.
Yes. I want to try to improve it. Where do I start? The end result should be more like Quora where rapidly provides results as you start typing (It even drops down for a single character) Also, another question I had is what is need for Haystack or other such programs over current implemention of Askbot's search? Why would one want to use that when Askbot already provides a solution?