Skip to content

Conversation

@stuhood
Copy link
Collaborator

@stuhood stuhood commented Nov 1, 2025

The:

  • tuple Collectors
  • MultiCollector
  • FilterCollectors

...do not have explicit overrides of collect_block, meaning that wrapping a Collector which does implement that method loses its advantage.

Noticed in a profile while using a tuple Collector of TopDocs and Aggregations (because Aggregations take advantage of collect_block).

@stuhood stuhood changed the title Implement collect_block for tuple Collectors, and for MultiCollector. Implement collect_block for Collectors which wrap other Collectors Nov 4, 2025
Copy link
Collaborator

@fulmicoton fulmicoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@fulmicoton fulmicoton merged commit ca87fcd into quickwit-oss:main Dec 1, 2025
3 checks passed
fulmicoton-dd pushed a commit that referenced this pull request Dec 1, 2025
…r`s (#2727)

* Implement `collect_block` for tuple Collectors, and for MultiCollector.

* Two more.
fulmicoton-dd pushed a commit that referenced this pull request Dec 1, 2025
…r`s (#2727)

* Implement `collect_block` for tuple Collectors, and for MultiCollector.

* Two more.
@philippemnoel philippemnoel deleted the stuhood.collector-opt-upstream branch December 2, 2025 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants