lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raimon Bosch <>
Subject include score in sort function
Date Sun, 11 Dec 2011 21:55:38 GMT

I was testing the sorting by function query and I was trying something


In this way we will be able to add little modifications to our score
formula by giving weight to other numeric fields. The problem is that the
score is not considered as a field inside the sorting function and it only
works with numeric fields already in your index
i.e sort=sum(mul(num_points,3),mul(num_visits,2))%20desc

There is another way to include original score on this sort function?

View raw message