lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MarcoR <grumpyrodrig...@protonmail.com>
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?

Thanks!
Marco



--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message