You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "javanna (via GitHub)" <gi...@apache.org> on 2026/06/17 14:16:53 UTC

[PR] Replace SimpleCollector driver with explicit leaf iteration in QueryUtils [lucene]

javanna opened a new pull request, #16266:
URL: https://github.com/apache/lucene/pull/16266

   Remove the deprecated `IndexSearcher#search(Query, Collector)` call.
   Rather than introducing collector managers, which add in this case 
   unwanted complexity, the search call can be replaced by a loop over the leaves.
   
   `SimpleCollector` wrapper is gone; a for-loop over leaf contexts and a
   while-loop over matching documents are now the explicit driver. 
   
   Relates to #12892


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Replace SimpleCollector driver with explicit leaf iteration in QueryUtils [lucene]

Posted by "javanna (via GitHub)" <gi...@apache.org>.
javanna merged PR #16266:
URL: https://github.com/apache/lucene/pull/16266


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Replace SimpleCollector driver with explicit leaf iteration in QueryUtils [lucene]

Posted by "javanna (via GitHub)" <gi...@apache.org>.
javanna commented on PR #16266:
URL: https://github.com/apache/lucene/pull/16266#issuecomment-4786929714

   I plan on merging this soon, please have a look if you get a chance!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Replace SimpleCollector driver with explicit leaf iteration in QueryUtils [lucene]

Posted by "javanna (via GitHub)" <gi...@apache.org>.
javanna commented on PR #16266:
URL: https://github.com/apache/lucene/pull/16266#issuecomment-4843411968

   Thanks @romseygeek !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org