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

Home » FUDforum » How To » how to search in chinese
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: how to search in chinese [message #159068 is a reply to message #159049] Sat, 02 May 2009 09:23 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
This sounds more like a browser or database problem. Please check if the data in the database is OK.

Also, please apply this patch to see if it solves your searching problem:

Index: isearch.inc.t
===================================================================
RCS file: /forum21/install/forum_data/src/isearch.inc.t,v
retrieving revision 1.71
diff -u -r1.71 isearch.inc.t
--- isearch.inc.t       29 Apr 2009 20:34:12 -0000      1.71
+++ isearch.inc.t       2 May 2009 09:19:07 -0000
@@ -17,7 +17,7 @@
        // Match utf-8 words (remove the \p{N} if you don't want to index wordswith numbers)
        preg_match_all("/\p{L}[\p{L}\p{N}\p{Mn}\p{Pd}'\x{2019}]*/u", $text, $t1);
        foreach ($t1[0] as $v) {
-               if (isset($v[51]) || !isset($v[2])) continue;   // word too long or too short
+               // if (isset($v[51]) || !isset($v[2])) continue;   // word too long or too short
                $a[] = _esc($v);
        }


Remember to rebuild your search index after applying the patch.

Best regards.

Frank
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When importing forum data...
Next Topic: Troubleshooting admin MySQL connection problem
Goto Forum:
  

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

Current Time: Wed Nov 27 12:37:21 GMT 2024

Total time taken to generate the page: 0.04063 seconds