Re: no results when a search includes a numerical character [message #40973 is a reply to message #40951] |
Sat, 03 May 2008 11:02 |
srchild
Messages: 88 Registered: December 2003 Location: UK
Karma:
|
Member |
|
|
Ilia wrote on Thu, 01 May 2008 00:38 | In your case you need to change the call to function str_word_count()
making it into
array_unique(str_word_count(strtolower($text), 1, '0123456789'));
|
Hmm, I'd missed off the quotes:
array_unique(str_word_count(strtolower($text),1,1234567890));
But putting them back, rebuilding the theme, checking that include/theme/default/isearch.inc has been updated - it has
array_unique(str_word_count(strtolower($text),1,'1234567890'));
then rebuilding the search index... still not indexing 'GP2GP' in the rebuilt index, even though new posts with that are being indexed as they arrive, and the index rebuild does work otherwise.
I see that indexdb.php does include isearch.inc, but it must be doing something different with it?
Simon Child
|
|
|