[ 
https://issues.apache.org/jira/browse/LUCENE-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-7257:
---------------------------------
    Attachment: LUCENE-7257.patch

Here is a patch that checks the field infos on each leaf and skips leaves whose 
field infos report a number of dimensions equal to 0.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to