[
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
[~jpountz] I accept your proposal about missing, only in case a reader does not
have the requested DV field, the collector returns a {{LeafCollector}} which
updates {{missing}} for every hit document.
I also renamed the classes as proposed earlier, as well extracted
{{DocValuesStats}} and friends to its own class.
I still didn't address changing {{DocValuesIterator}} to public. BTW, I noticed
that {{SimpleTextDocValuesReader}} defines a private class named
{{DocValuesIterator}} with exactly the same signature, I assume because the
other one is package-private. So I feel that changing {{DVI}} to public is
beneficial beyond the scope of this issue alone. What do you think?
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]