Answer the question
In order to leave comments, you need to log in
How to correct the work of sphinx?
There is a table that is being searched using sphinx
In the first line we have the phrase: Big deal, Russian
In the second: Russian, Big deal
I want the search to search by words and phrases separated by a comma, that is, the word Russian and the phrase Big deal should not interact nothing among themselves.
When I enter the query: Russian Big deal , I get that the second category gets more weight, and when I query Big deal Russian , the first category has more weight. And as a result, I should get the same weights.
I use the SPH_MATCH_ANY mode for searching.
How can I configure the search so that it works as I need?
Answer the question
In order to leave comments, you need to log in
sphinx does not add commas to the index, that is, they are not in the index, poke the search with your hands in the console and see what weights your query receives in the results found.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question