Skip to content

Conversation

@SteveLauC
Copy link
Member

This commit refactors the code that evenly collects documents from query sources to let it collect at least 2 documents in every source, which could correct the case when max_hits_per_source is 0. This was possible with the previous impl, no longer allowed after this commit

Standards checklist

  • The PR title is descriptive
  • The commit messages are semantic
  • Necessary tests are added
  • Updated the release notes
  • Necessary documents have been added if this is a new feature
  • Performance tests checked, no obvious performance degradation

…ource

This commit refactors the code that evenly collects documents from query
sources to let it collect at least 2 documents in every source, which
could correct the case when `max_hits_per_source` is 0. This was possible
with the previous impl, no longer allowed after this commit
@SteveLauC SteveLauC merged commit 0395474 into main Oct 27, 2025
4 checks passed
@SteveLauC SteveLauC deleted the refactor/search_multi_source_even_uptake branch October 27, 2025 02:07
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.

4 participants