The score isn't computed when you try to access it. Furthermore your functionQuery needs to become part of the score.
So what can you do??? The keyword is boosting. Do: {!func}product(0.88,rank)^x Where x is a boosting factor based on your experiences. Keep in mind that the result of your product-function-query will be added to the score. That means if the result is i.e. 12, and the "normal" score would be 5,6, than the final score for the document is 17,6. If your ranking-value or your x-value is too large, this would lead to unexpected results. Hope this helps. - Mitch -- View this message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p836471.html Sent from the Solr - User mailing list archive at Nabble.com.