Answer the question
In order to leave comments, you need to log in
How to find a larger phrase in Sphinx by a smaller one in the index?
There is a sphinx index, in which, among other things, there is a record with a field value. When performing a search on this index, nothing is found Компьютерная техника / Накопители / Карты памяти
with the query .
If you specify as a request , the result is immediately in place, but the problem is that it is impossible to know in advance less significant words. For example, there is a similar query that finds nothing if there is an entry in the index .
It seems to me that the answer is somewhere on the surface, but I can not find a solution. So I will be grateful for any advice and tips.
sphinx version 3.1.1 The
index config looks like thisКарты памяти SDHC
Карты памяти MAYBE SDHC
Аудиокниги CD
Аудиокниги
index campaign
{
source = categories
path = /var/lib/sphinx/categories
morphology = stem_enru, soundex, metaphone
html_strip = 1
min_word_len = 2
charset_table = 0..9, english, russian
regexp_filter = \/ => \\/
regexp_filter = \" => \\"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question