I know others have got Sphinx to work with UTF (and Chinese) characters, but I've not done it myself, so not sure how much help I can be.
Firstly - have you got your charset_table set up correctly, indexing all the relevant UTF characters? Secondly - especially in the case of Chinese - have a look at the ngram_len and ngram_chars settings: http://sphinxsearch.com/docs/manual-2.0.1.html#conf-ngram-len Also, on the topic of Chinese Sphinx support, I've just heard recently of a Sphinx clone with improved Chinese support, called Coreseek. The latest commits for Riddle should make it play nicely with Coreseek, though TS may need a patch or two. http://www.coreseek.com/ Cheers -- Pat On 21/06/2011, at 3:06 PM, Jeweller wrote: > It seems that Sphinx can only search English, I met a problem quite > like yours, I can't search Chinese either. But it didn't raise an > error,just return an empty Array. > > On 6月20日, 下午7时21分, alto <[email protected]> wrote: >> Hi, >> >> currently I run into problems like this: >> >> I have a defined the Thinking Sphinx index like this: >> >> define_index do >> indexes alternate_name >> end >> >> Pretty easy and straightforward. The problem arises from entries in >> foreign languages. When I start searching for names >> >> # taken from the development log file >> Sphinx Query (1.6ms) @alternate_name ישראל >> Sphinx Found 0 results >> >> I get this error >> >> Sphinx Sphinx Daemon returned error: index >> geonames_translation_core: syntax error, unexpected $end near ' ישראל' >> >> What am I doing wrong? >> >> Thanks >> Thorsten > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
