Yii Framework Forum: Forum search doesn't show results on first try - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Forum search doesn't show results on first try Rate Topic: -----

#21 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,380
  • Joined: 12-October 09
  • Location:Croatia

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?
0

#22 User is offline   Logan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 04-March 11

Posted 22 October 2011 - 11:49 PM

It's a lot better this evening. Although I'm still getting "Your search did not match any documents." about 25% of the time. Getting better though.


View Postmdomba, on 21 October 2011 - 04:11 AM, said:

There where some problems with the search indexes... Qiang fixed them, so now it should work...

0

#23 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,698
  • Joined: 10-October 10
  • Location:Denmark

Posted 22 October 2011 - 11:52 PM

You need to be specific:
Yii site or Yii forum? :)

The extension search works now! :D
And so does the global yii search.
"Less noise - more signal"
0

#24 User is offline   apotter 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 12
  • Joined: 27-October 11
  • Location:Dortmund, Germany

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).
0

#25 User is offline   Trejder 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,243
  • Joined: 06-October 10
  • Location:Southern Poland

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.
Proud Cookbook author, though still learning powerful Yii! :] See my generic profile for more information. Cheers!
0

#26 User is offline   Ivica 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 320
  • Joined: 25-May 11

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.
#Be Limitless
Gravity4
0

#27 User is offline   Trejder 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,243
  • Joined: 06-October 10
  • Location:Southern Poland

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!
0

#28 User is offline   Jaggi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 90
  • Joined: 05-September 11

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.
See my development site @ www.CodeTheInter.net (BETA)

Posted Image Posted Image

Quote

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

#29 User is offline   Jaggi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 90
  • Joined: 05-September 11

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?
See my development site @ www.CodeTheInter.net (BETA)

Posted Image Posted Image

Quote

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

#30 User is offline   wei 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 147
  • Joined: 04-October 08

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.
0

#31 User is offline   Jaggi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 90
  • Joined: 05-September 11

Posted 05 December 2011 - 05:37 PM

View Postwei, 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.


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)

Posted Image Posted Image

Quote

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

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users