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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org