Answer the question
In order to leave comments, you need to log in
Sphinx: how to give weight to certain words?
In the text of the query, introductory words are very often found, how to set them smaller than the rest,
for example ,
the query
how to do (keyword)
and in the results above there may be an option that will entirely consist of the words how and do
, that is, the result:
как сделать как сделать как сделать как сделать как сделать как сделать как сделать (ключевое слово) еще куча текста не имеющего отношения к ключевому слову
как сделать ключевое слово
Answer the question
In order to leave comments, you need to log in
You can:
1) the simplest thing is to experiment with adding "how" and "make" to the list of stop words so that they are not indexed at all.
2) more difficult - experiment with your own ranking formula:
- https://docs.manticoresearch.com/latest/html/searc... - list of factors
- PACKEDFACTORS() will help you see the impact of each factor on each search result and adjust the formula
handles at the output already sort the result of the sphinx
or add it yourself to the search phrase how to do it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question