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

Alan Woodward commented on LUCENE-9328:
---------------------------------------

Can we try and avoid making any changes to FieldComparator and friends?  I 
think we can do this entirely within AllGroupHeadsCollector, by wrapping 
incoming LeafReaders with a FilterLeafReader that caches the various DocValues 
iterators.  We may need to make some changes to allow a FilterLeafReader to 
keep its inner reader's context though, so that the comparators see the correct 
docBase.

> SortingGroupHead to reuse DocValues
> -----------------------------------
>
>                 Key: LUCENE-9328
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9328
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/grouping
>            Reporter: Mikhail Khludnev
>            Priority: Minor
>         Attachments: LUCENE-9328.patch
>
>
> That's why 
> https://issues.apache.org/jira/browse/LUCENE-7701?focusedCommentId=17084365&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17084365



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