How to configure this on Sphinx?

To the online store connected to sphinx search. Default to find a product that you need to enter the full name of the product or its compatible model, which is in the item description. If you enter a partial name, the search won't give. There is an option to enter a few characters and put at the end of the sign * (asterisk), then sphinx returns all options which start before asterisk.
Tell me how to configure search so that was not necessary each time to enter the * character at the end. To do so: the client starts writing in the search and it should come out the options found, i.e. as if after every entered symbol is indicated *.
Tell me how to implement this?
June 10th 19 at 14:52
3 answers
June 10th 19 at 14:54
# to search for *request*
min_infix_len = 3

# for the search request*
# min_prefix_len = 3

#Allows the use of asterisks in queries, for example on request *PR* will be found the prospectus, Hey, approximation, etc.
enable_star = 1

# Automatically expands the search query to three queries
expand_keywords = 1

min_infix_len or min_prefix_len
If you specify two parameters, it will error.
June 10th 19 at 14:56
the easiest way in the background - if null rezalt - add the asterisk to the query

well, normally - it is necessary trained
June 10th 19 at 14:58
Enable old config Sphinx to include
Behavior enable_star with version 2.2.1 is enabled by default, but the parameter is declared deprecated. - samir39 commented on June 10th 19 at 15:01
well then the problem is not with Sphinx - Eulalia22 commented on June 10th 19 at 15:04
wonder they removed search tool, which can validate the index in isolation from the API of any language. - samir39 commented on June 10th 19 at 15:07
well there were mysequel Protocol take da test - Eulalia22 commented on June 10th 19 at 15:10

Find more questions by tags Sphinx