lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MarcoR <>
Subject Re: How can I use FunctionScoreQuery to replace CustomScoreQuery?
Date Sun, 27 Jan 2019 18:34:16 GMT
Thanks Mikhail,

I'm afraid I don't understand your suggestion though.

I worked more on DoubleValuesSource.fromField's implementation since sending
my first email. As far as I can see, I need to write custom code in my
DoubleValuesSource implementation and it will be used by the FilterScorer of
FunctionScoreQuery. So I have one potential solution.

I am curious about your suggestion. What do you mean when you say custom
code can run custom logic, then it can wrap a query? The way
FunctionScoreQuery is designed, whatever custom logic I'm supposed to
introduce should go into DoubleValuesSource. Your suggestion seems to differ
from that. Could you explain a bit more please?


Sent from:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message