[ 
https://issues.apache.org/jira/browse/LUCENE-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036878#comment-17036878
 ] 

Adrien Grand commented on LUCENE-9203:
--------------------------------------

Yes indeed, I remember another instance of it which I can't find again that 
only needed this class because it was trying to stuff everything into a base 
class when composition instead of inheritance would have made things even 
simpler.  I'm not completely opposed to making it public but I'd like to see a 
compelling use-case for it. You mentioned consuming all doc values in a generic 
manner but the couple cases I've seen were better served by using 
nextDoc/advance than advanceExact? We don't give ways to consume values in a 
generic manner either but I've not seen many asks for it?

> 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: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to