H
H
HighElf2013-12-24 13:51:06
Sphinx
HighElf, 2013-12-24 13:51:06

How to create a Sphinx index (utf8 cirillic json_encoded string)?

Good afternoon uv. community.
Help solve the issue.
There is data in the database from the previous developer.
They are stored, oddly enough, in the json_encode line.
The main problem with Cyrillic UTF8 which looks like this in the database is \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u043c
How can one build an index for the sphinx using such data?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
maxaon, 2013-12-24
@HighElf

The easiest way is to add another column with the data you need.

H
HighElf, 2013-12-24
@HighElf

There was an idea!
Form the index yourself, with a self-written indexer, first converting the data into the desired format.

H
HighElf, 2013-12-24
@HighElf

If anyone is interested, I'll post the details later.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question