FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » no results when a search includes a numerical character
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: no results when a search includes a numerical character [message #40973 is a reply to message #40951] Sat, 03 May 2008 11:02 Go to previous messageGo to previous message
srchild is currently offline  srchild   United Kingdom
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: i18n characters not showing in dates! (utf-8)
Next Topic: Timezones
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 16:44:10 GMT 2024

Total time taken to generate the page: 0.04955 seconds