Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question