You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/04/26 18:31:12 UTC
[jira] [Updated] (LUCENE-7257) PointValues aggregated stats fail if
the provided field does not have points on one of the leaves
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org