[ 
https://issues.apache.org/jira/browse/LUCENE-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192790#comment-13192790
 ] 

Andrzej Bialecki  commented on LUCENE-3722:
-------------------------------------------

bq. maybe we should not have add() here then at all and let the consumer take 
care of this themselves.

Fair point, I'd rather remove it.

bq. i think it must not be treated as 0

Ok, it makes sense in local (multi reader) situations but in distributed 
scenario it may be still acceptable to lose just a part of the statistics from 
one shard while keeping the stats from other shards.

Which would be yet another reason to drop the add() methods :)
                
> make similarities/term/collectionstats take long (for > 2B docs)
> ----------------------------------------------------------------
>
>                 Key: LUCENE-3722
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3722
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-3722.patch, LUCENE-3722.patch
>
>
> As noted by Yonik and Andrzej on SOLR-1632, this would be useful for 
> distributed scoring.
> we can also add a sugar method add() to both of these to make it easier to 
> sum.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to