Skip to content

Add bulk and query-side scorer tests to ByteVectorScorerFactoryTests#144645

Merged
ChrisHegarty merged 1 commit intoelastic:mainfrom
ChrisHegarty:byte-vector-scorer-test-coverage
Mar 20, 2026
Merged

Add bulk and query-side scorer tests to ByteVectorScorerFactoryTests#144645
ChrisHegarty merged 1 commit intoelastic:mainfrom
ChrisHegarty:byte-vector-scorer-test-coverage

Conversation

@ChrisHegarty
Copy link
Copy Markdown
Contributor

While working on bulk sparse scoring (#144557), I noticed that ByteVectorScorerFactoryTests only tested per-ordinal score() via the supplier path. This PR adds bulk scoring and
query-side scorer coverage, extracted from ongoing work on bulk sparse scoring (#144557).

The test structure is designed so that SNAP directory variants can be added alongside the MMap tests once DirectAccessInput support lands.

@ChrisHegarty ChrisHegarty added >test Issues or PRs that are addressing/adding tests :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Mar 20, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

@ChrisHegarty ChrisHegarty merged commit ca644c2 into elastic:main Mar 20, 2026
36 checks passed
michalborek pushed a commit to michalborek/elasticsearch that referenced this pull request Mar 23, 2026
…lastic#144645)

While working on bulk sparse scoring (elastic#144557), I noticed that ByteVectorScorerFactoryTests only tested per-ordinal score() via the supplier path. This PR adds bulk scoring and
query-side scorer coverage, extracted from ongoing work on bulk sparse scoring (elastic#144557).

The test structure is designed so that SNAP directory variants can be added alongside the MMap tests once DirectAccessInput support lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test Issues or PRs that are addressing/adding tests v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants