Skip to content

Add setting for number of documents stored by HybridCollapsingTopDocsCollector #1471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ryanbogan
Copy link
Member

@ryanbogan ryanbogan commented Jul 22, 2025

Description

Adds a setting that allows users to control the number of documents that are stored in each queue within HybridCollapsingTopDocsCollector. Lowering this setting prioritizes latency over recall, while raising the setting does the opposite.

Related Issues

Resolves #1381

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ryanbogan
Copy link
Member Author

Open to feedback on default value and upper limit for the new setting

Signed-off-by: Ryan Bogan <[email protected]>
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.

[Hybrid] Add setting for number of documents stored by HybridCollapsingTopDocsCollector
1 participant