lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Safaric <>
Subject Solr custom score performance
Date Tue, 04 Sep 2018 08:54:17 GMT
Hi there!

I have the following use case I'd like to implement in Solr and hence are
seeking for information onto the internals of Solr and the performance of
such an approach.

I would like to score documents matched by a query using a custom scoring
function. Generally, up to my knowledge, there are two options to achieve
1) implement a custom ValueSource and use it via a FunctionQuery
2) implement a CustomScoreQuery and its customScoreProvider function that
would return a CustomScoreProvider instance that would be used for custom

The custom scoring function is expected to score based on a reference value
and a value of a binary doc-values field.

How are FunctionQueries in contrary to a CustomScoreQuery executed? What
approach would in your opinion yield better performance, and why?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message