A
A
Alexander Alexandrov2015-06-23 23:42:53
Django
Alexander Alexandrov, 2015-06-23 23:42:53

Why is sphinx not looking for cyrillic?

Actually a subject.
db mysql, in utf-8, in configs everywhere it is the same
Where else can I see it?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
W
WhoMe, 2015-06-24
@pyhamster

Finger to the sky
sql_query_pre = SET NAMES utf8

A
Alexander, 2015-06-24
@liff

setup in sphinx configs parameter charset_table

A
Artem Soshnikov, 2015-06-24
@artem90

In our sphinx index section, the following construction is used to search for Cyrillic:

index SomeIndex {
# .....
charset_type = utf-8
charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42C->U+430..U+44C, U+42E..U+42F->U+44E..U+44F, U+430..U+44C, U+44E..U+44F, U+0401->U+0435, U+0451->U+0435, U+042D->U+0435, U+435, U+044D->U+0435
# .....
}

I
Igor, 2015-06-25
@mulat

I'll add WhoMe: a similar question .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question