Answer the question
In order to leave comments, you need to log in
How to calculate weight in sphinx?
I make such a request:
there are fields id, text, active
added different data with different texts, somewhere less, somewhere more I make a request
SELECT id, weight() as weight FROM new_index LIMIT 0, 10;
Answer the question
In order to leave comments, you need to log in
Do you even know what weight is?
Maybe you should first understand this and the question of why it is equal to one will automatically fall off.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question