Skip to content

Conversation

@gaobinlong
Copy link
Contributor

@gaobinlong gaobinlong commented Dec 10, 2025

Fix the following bugs in TestTopDocsCollector and TestTopFieldCollector:

  1. If leafCollector.collect(4), the documents count in this segment should be greater than 4.
  2. For a new leafCollector, the collected doc id should starts from 0 and then 1, and same doc id shouldn't be collected again.

The test result won't be changed, but this PR makes the test cases more clear.

Signed-off-by: Binlong Gao <gbinlong@amazon.com>
@dweiss dweiss added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:core/search skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants