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

Michael McCandless commented on LUCENE-7257:
--------------------------------------------

+1, thanks [~jpountz]!

> PointValues aggregated stats fail if the provided field does not have points 
> on one of the leaves
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7257
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7257
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-7257.patch
>
>
> The static helpers on PointValues to get aggregated 
> size/docCount/minPackedValue/maxPackedValue fail if a leaf has points indexed 
> (so that getPointValues() returns a non-null value) but not for the given 
> field. In that case PointValues.size() throws an exception.



--
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

Reply via email to