Hi,

Currently, I'm trying to implement a ranking algorithm on Solr to include
TFIDFSimilarity score into a formula.

Ranking = TFIDFSimilarity Score * X1 + V1 * X2 + V2 * X3 + ..... + Vn-1 * Xn

Basically, the values of Vn are stored in DocValues, I can access them in
customized Function Query. The Xn are parameters I will pass to the
Function Query.

I searched on internet and dig a little bit in the Solr/Lucene source code.
I found there is no way to access TFIDFSimilarity Score in Function Query.
(Please correct me if I'm wrong.)

So, I'm wondering is it possible to do my ranking algorithm in Solr/Lucene?

--
Nicholas Ding

Reply via email to