Re: About custom score using Solr8/Lucene8

2020-07-06 Thread Michael Sokolov
That controls whether getValues(LeafReaderContext ctx, DoubleValues scores) gets a null scores parameter or not. You should say true only if you need the text relevance scores computed by the Query's Scorer. On Mon, Jul 6, 2020 at 10:22 AM Vincenzo D'Amore wrote: > > Hi Michael, thanks for answe

Re: About custom score using Solr8/Lucene8

2020-07-06 Thread Vincenzo D'Amore
Hi Michael, thanks for answering my questions. Yes, I read, but I think that it not is enough. For make the things clearer, this is taken from the javadocs: abstract boolean needsScores() - Return true if document scores are needed to calculate values So, I thought return true, because yes, I ne

Re: About custom score using Solr8/Lucene8

2020-07-06 Thread Michael Sokolov
Did you read the DoubleValuesSource javadocs, and find they weren't enough? On Sun, Jul 5, 2020 at 7:54 AM Vincenzo D'Amore wrote: > > Hi all, > > Finally I have a custom DoubleValuesSource that gives the expected results, > but I'm a little worried about the lack of documentation. > > When you e