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 #40018 is a reply to message #25783] Fri, 04 January 2008 11:41 Go to previous messageGo to previous message
srchild is currently offline  srchild
Messages: 88
Registered: December 2003
Location: UK
Karma:
Member
Ilia wrote on Tue, 21 June 2005 14:12

The indexing of the text is done by code inside isearch.inc.t, specifically the text_to_worda() function.


Is it just a matter of changing

default:
$t1 = array_unique(str_word_count(strip_tags(strtolower($text)), 1));

to

default:
$t1 = array_unique(str_word_count(strip_tags(strtolower($text)), 1,1234567890));

(and then rebuild the search index)

TIA



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: Thu May 09 05:42:13 GMT 2024

Total time taken to generate the page: 0.09975 seconds