|
|
Re: search bug? [message #168188 is a reply to message #168185] |
Fri, 22 February 2013 19:01 |
|
zbob
Messages: 19 Registered: February 2013
Karma: 0
|
Junior Member |
|
|
I think I may have this partially figured out. There is a unique contraint on the "search" table. This causes a db error when inserting duplicate words and stops the rebuild process. I dont know why the system is attempting to insert dupes but apparently it is. I turned the unique contraint off and rebuilt the search index and then all the words were inserted "correctly"... with dupes of course, but at least all the words are in there now and the forum search now seems to work.
I think this function is not working correctly: $w2 = array_unique($w2); (in isearch.inc)
Is there a better workaround than what I have done or is there a fix for this?
Thanks.
[Updated on: Fri, 22 February 2013 19:58] Report message to a moderator
|
|
|
|