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

Shai Erera updated LUCENE-7590:
-------------------------------
    Attachment: LUCENE-7590.patch

Patch changes {{DocValuesIterator}} package-private again and adds an API to 
{{DocValuesStats}} to help in determining whether a document has or does not 
have a value for the field.

The Collector needs to be public because you're supposed to initialize it and 
run a search with it.

> Add DocValues statistics helpers
> --------------------------------
>
>                 Key: LUCENE-7590
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7590
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/misc
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>         Attachments: LUCENE-7590.patch, LUCENE-7590.patch, LUCENE-7590.patch, 
> LUCENE-7590.patch, LUCENE-7590.patch, LUCENE-7590.patch, LUCENE-7590.patch
>
>
> I think it can be useful to have DocValues statistics helpers, that can allow 
> users to query for the min/max/avg etc. stats of a DV field. In this issue 
> I'd like to cover numeric DV, but there's no reason not to add it to other DV 
> types too.



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