Search Dead
-----
| Author | Message | |
|---|---|---|
|
JaCk |
||
| Mon Jan 22, 2007 4:52 pm Post subject: Search Dead | ||
|
A week ago, I decided to install and run the rebuild search mod:
http://www.phpbbhacks.com/download/434 I did this cause my search kept giving results which had nothing to do with the keyword i gave..and many results came out.. After it did the whole thing, I kept getting zero results for stuff i know i have...and which was just posted... this has been so for a week now...any ideas on how i can fix it? thanks in advance |
||
|
Thoul |
||
| Tue Jan 23, 2007 8:58 pm Post subject: Re: Search Dead | ||
|
If you can, check the search_wordlist and search_wordmatch tables in your database to see if they're empty. You may need to run the rebuild script again.
|
||
|
JaCk |
||
| Wed Jan 24, 2007 3:22 pm Post subject: Re: Search Dead | ||
|
same problem remains thoul...it just keeps timing out...never finishes it
|
||
|
Thoul |
||
| Wed Jan 24, 2007 8:31 pm Post subject: Re: Search Dead | ||
|
Hm, so it's timing out when trying to rebuild the search index? Find this line in admin_rebuild_search.php:
Code: if ($i == $HTTP_GET_VARS['start_id'] + 100)
Change the 100 there to a smaller number, like say 50. That should make it try to process fewer posts at a time and hopefully prevent the timing out. If it still doesn't work, try the Database Maintenance hack instead. It has a similar feature that may work better. http://www.phpbbhacks.com/load.php?id=4372 |
||
|
JaCk |
||
| Thu Jan 25, 2007 5:47 pm Post subject: Re: Search Dead | ||
|
well, i ran it again and this time it went to the end...but, after it finished, search wordlist was 50.1 mb and search_wordmatch was 3.1kb with 0 records..is that how it is supposed to be?
plus, i still get no search results. |
||
|
Thoul |
||
| Fri Jan 26, 2007 6:34 am Post subject: Re: Search Dead | ||
|
No, search_wordmatch should definitely have some records in it and that's part of where your search results would come from. The hack didn't populate that table correctly for some reason. Try the other hack that I mentioned before. It's a better hack overall and I've used it to this successfully myself.
|
||
|
JaCk |
||
| Sat Jan 27, 2007 6:23 am Post subject: Re: Search Dead | ||
|
the problem is that the dbmaintenance one doesnt work for me..but ill try and find someone with a better connection to do it...see if ti works at their end.
thank u thoul...much appreciated |
||
|
JaCk |
||
| Sat Jan 27, 2007 6:15 pm Post subject: Re: Search Dead | ||
|
it worked at last...i replaced the two search tables with fresh ones...and then ran the search rebuild, and it worked.
thanks again thoul... |
||
Page 1 of 1