S
S
slimbz2016-09-07 00:36:36
Sphinx
slimbz, 2016-09-07 00:36:36

Why doesn't sphinx search if the search phrase starts with a 1 letter word?

For example, "work under contract" finds records, but "under contract" does not.
"within the framework of the agreement" - finds.
Does anyone have any ideas what could be the issue?
configs

index work
{
source = work
path = C:\Sphinx\data\work_all
min_word_len = 1
min_infix_len = 3
morphology = none
charset_table = -, 0..9, A..Z->a..z, _, a.. z, \
U+410..U+42F->U+430..U+44F, U+430..U+44F, U+401->U+451, U+451
}

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2016-09-07
@xmoonlight

I will offer an alternative to the sphinx: PHP-class "Fuzzy search"
Check your strings in the search DEMO form , maybe this solution will suit you.

P
Puma Thailand, 2016-09-07
@opium

look at the qveri log it usually sheds light

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question