[
https://issues.apache.org/jira/browse/LUCENE-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031062#comment-17031062
]
Michael Sokolov commented on LUCENE-9203:
-----------------------------------------
It looks to me as if the discussion in LUCENE-9081 was about whether to
eliminate {{DocValuesIterator}} altogether since it doesn't actually do
anything - is really just a marker interface. But I think it's helpful for when
you want to deal with all the DocValues types in a generic manner to have some
superclass (or could be an interface maybe?) to which to refer. Otherwise you
end up with ugly switch code that must reference all the concrete types. Given
that, I'd be +1 to making public, and if for some reason we decide not to, then
I think we should remove, since this keeps coming up.
> Make DocValuesIterator public
> -----------------------------
>
> Key: LUCENE-9203
> URL: https://issues.apache.org/jira/browse/LUCENE-9203
> Project: Lucene - Core
> Issue Type: Improvement
> Components: core/index
> Affects Versions: 8.4
> Reporter: juan camilo rodriguez duran
> Priority: Trivial
> Labels: docValues
>
> By doing this, we improve extensibility for new formats. Additionally this
> will improve coherence with the public method already existent in the class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]