Forum search doesn't show results on first try
#21
Posted 21 October 2011 - 04:11 AM
There where some problems with the search indexes... Qiang fixed them, so now it should work...
Find more about me.... btw. Do you know your WAN IP?
#23
Posted 22 October 2011 - 11:52 PM
You need to be specific:
Yii site or Yii forum?
The extension search works now!
And so does the global yii search.
Yii site or Yii forum?
The extension search works now!
And so does the global yii search.
"Less noise - more signal"
#24
Posted 28 October 2011 - 06:34 AM
Yes, I've noticed the various search functions are not working as expected. In several cases I've search for something from the tutorials section and get a screen indicating nothing is found. This screen also has a search function with my original search term already filled in. When I click search again then I get a proper result set.
Maybe not a big deal but it is bothersome and isn't the best testimony about the YII framework (assuming the website has been programmed with YII).
Maybe not a big deal but it is bothersome and isn't the best testimony about the YII framework (assuming the website has been programmed with YII).
#25
Posted 06 November 2011 - 05:18 PM
There are few parallel posts / reports on forum / site search failing to work as usual past weeks (months?).
There are situations, where search returns no results, while it obviously has to return at least one (searching for just a class name like CGridView) or when search fails, showing no results, after going to next page, even though on first page there were to many results and paginator was introduced.
I've heard that dev team / admins are aware and are making efforts to fix this problem, as search engine is probably the most used element of Yii website.
Doing search through Google is a quite good idea (noticed few days ago, that Google is able to index posts on forum 2-3 hours after publication!), but of course temporary, and would be really nice, if responsible people would finally found out, what is going on and fixed it.
There are situations, where search returns no results, while it obviously has to return at least one (searching for just a class name like CGridView) or when search fails, showing no results, after going to next page, even though on first page there were to many results and paginator was introduced.
I've heard that dev team / admins are aware and are making efforts to fix this problem, as search engine is probably the most used element of Yii website.
Doing search through Google is a quite good idea (noticed few days ago, that Google is able to index posts on forum 2-3 hours after publication!), but of course temporary, and would be really nice, if responsible people would finally found out, what is going on and fixed it.
Proud Cookbook author, though still learning powerful Yii! :] See my generic profile for more information. Cheers!
#26
Posted 18 November 2011 - 03:42 AM
There is one trick, to get correct search results, that works both on forum or site searches. SO, when you get no results for search, just hit refresh button, and you will get more results. I know it is weird, but at least it works.
Zurmo: Yii Powered Open Source CRM
zurmo.org
zurmo.org
#27
Posted 18 November 2011 - 05:04 AM
I would say, that you were just lucky on that. I had many situation, where hitting refresh after getting results returned no results next time. In my opinion, forum search is just worse working last days. And we need to wait for a fix or get used to it. Let's assume that Yii popularity is so high that search mechanisms are dying! :]
Proud Cookbook author, though still learning powerful Yii! :] See my generic profile for more information. Cheers!
#28
Posted 21 November 2011 - 05:58 PM
I've done a lot of stuff for IPB and even worked on some of their releases and various community projects so am familiar with the code base. The bugs seems to be from Yii's cross site implementation with the wiki and other services as by default IPB doesn't work in this way. I'm not sure if they hacked the code or created a hook to the search engine which it supports for applications. Either way it seems that has caused all the issues in the search.
Just to guess it seems like it might be an timeout issue or something in the search process failing in certain instances as repeating the search a few times usually yields the desired results eventually. I would recommend investigating it a little further but also consider moving to sphinx search engine which removes the minimum character limit and makes the search system much faster.
Just to guess it seems like it might be an timeout issue or something in the search process failing in certain instances as repeating the search a few times usually yields the desired results eventually. I would recommend investigating it a little further but also consider moving to sphinx search engine which removes the minimum character limit and makes the search system much faster.
See my development site @ www.CodeTheInter.net (BETA)


Quote
If you make it idiot proof, they'll build a better idiot
#29
Posted 21 November 2011 - 06:04 PM
There's three threads on this(that i've found), I posted a possible reason and solution in: http://www.yiiframew...sucks-big-time/
merge topics maybe?
merge topics maybe?
See my development site @ www.CodeTheInter.net (BETA)


Quote
If you make it idiot proof, they'll build a better idiot
#30
Posted 01 December 2011 - 05:31 AM
Thanks, merged.
The search backend is running Solr. There seems to be some problems in returning a timely response (we timeout the backend at 5 seconds). We're not sure what is causing the search backend to hang. It could be some disk problems.
The search backend is running Solr. There seems to be some problems in returning a timely response (we timeout the backend at 5 seconds). We're not sure what is causing the search backend to hang. It could be some disk problems.
#31
Posted 05 December 2011 - 05:37 PM
wei, on 01 December 2011 - 05:31 AM, said:
Thanks, merged.
The search backend is running Solr. There seems to be some problems in returning a timely response (we timeout the backend at 5 seconds). We're not sure what is causing the search backend to hang. It could be some disk problems.
The search backend is running Solr. There seems to be some problems in returning a timely response (we timeout the backend at 5 seconds). We're not sure what is causing the search backend to hang. It could be some disk problems.
Yea timeout issue was my guess (yay me). Try looking into whether sphinx is a possible solution for handling the search, it creates it's own index so as it won't actually fix the problem but it makes the problem void because it won't use the same process therefore fixing it...
See my development site @ www.CodeTheInter.net (BETA)


Quote
If you make it idiot proof, they'll build a better idiot

Help














