If you are working with payloads, you will also want to have a look at
PayloadScoreQuery.
Le mar. 16 janv. 2018 à 12:26, Michael Sokolov a
écrit :
> Have a look at Expressions class. It compiles JavaScript that can reference
> other values and can be used for ranking.
>
> On Jan 16, 2018 4:58 AM
Have a look at Expressions class. It compiles JavaScript that can reference
other values and can be used for ranking.
On Jan 16, 2018 4:58 AM, "Dwaipayan Roy" wrote:
> I want to make a scoring function that will score the documents by the
> following function:
> given Q = {q1, q2, ... }
> score
I want to make a scoring function that will score the documents by the
following function:
given Q = {q1, q2, ... }
score(D,Q) =
for all qi:
SUM of {
LOG { weight_1(qi) + weight_2(qi) + weight_3(qi) }
}
I have stored weight_1, weight_2 and weight_3 for all term of all docu