[ https://issues.apache.org/jira/browse/LUCENE-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15595150#comment-15595150 ]
Adrien Grand commented on LUCENE-7517: -------------------------------------- Any opinions about whether things like CachingCollector should keep buffering floats or switch to doubles if we do that? On the one hand, it seems too wasteful to use doubles but on the other hand storing floats would mean that the replay would return slightly different scores than during the buffering phase. Buffering scores sounds weird to me but apparently it's used for grouping. > Explore making Scorer.score() return a double > --------------------------------------------- > > Key: LUCENE-7517 > URL: https://issues.apache.org/jira/browse/LUCENE-7517 > Project: Lucene - Core > Issue Type: Wish > Reporter: Adrien Grand > Priority: Minor > > Follow-up to > http://search-lucene.com/m/l6pAi1BoyPJ1vr2382&subj=Re+JENKINS+EA+Lucene+Solr+master+Linux+64bit+jdk+9+ea+140+Build+18103+Unstable+. > We could make Scorer.score() return a double in order to lose less accuracy > when combining scores together, while still using floats on TopDocs and more > generally all parts of the code that need to store scores. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org