X
X
x2bool2012-11-16 08:51:49
Sphinx
x2bool, 2012-11-16 08:51:49

How to implement the simplest ranking system?

Let's say we have two tables. In one we store textual information. In the other - a certain score. The tables are related as one to one. With a search query by Sphinx, we go through the first one, pull out the necessary information. How to sort the results based on table #2, despite the fact that in the end you need to get some kind of compromise between the accuracy of matching with the query and the score in table 2?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question