Skip to content

Fix VectorScorerOSQBenchmark.score to read corrections properly#143137

Merged
ldematte merged 3 commits intoelastic:mainfrom
thecoop:fix-osq-benchmark-bulk-reading
Feb 27, 2026
Merged

Fix VectorScorerOSQBenchmark.score to read corrections properly#143137
ldematte merged 3 commits intoelastic:mainfrom
thecoop:fix-osq-benchmark-bulk-reading

Conversation

@thecoop
Copy link
Copy Markdown
Member

@thecoop thecoop commented Feb 26, 2026

The score method wasn't accounting for the bulk encoding of quantization data, it was assuming it was the same as original BBQ. So fix it to use batches like it should.

@thecoop thecoop added >test Issues or PRs that are addressing/adding tests :Search Relevance/Vectors Vector search labels Feb 26, 2026
@elasticsearchmachine elasticsearchmachine added v9.4.0 Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Feb 26, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@ldematte ldematte 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 for the fix! This might explain also why we were failing with numeric errors sometimes - we still read "garbage" (data not coming from the quantizer).

@ldematte ldematte merged commit 10e4e09 into elastic:main Feb 27, 2026
36 checks passed
PeteGillinElastic pushed a commit to PeteGillinElastic/elasticsearch that referenced this pull request Feb 27, 2026
…tic#143137)

* Fix VectorScorerOSQBenchmark to read corrections properly

* Use existing scratch buffer
szybia added a commit to szybia/elasticsearch that referenced this pull request Feb 27, 2026
…cations

* upstream/main: (35 commits)
  Create ARM bulk sqrI8 implementation (elastic#142461)
  Rework get-snapshots predicates (elastic#143161)
  Refactor downsampling fetchers and producers (elastic#140357)
  ESQL: Unmute test and add extra logging to generative test validation (elastic#143168)
  Fix metadata fields being nullified/loaded by unmapped_fields setting (elastic#143155)
  Determine remote cluster version (elastic#142494)
  Populate failure message for aborted clones (elastic#143206)
  Allow kibana_system role to read and manage logs streams (elastic#143053)
  Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:eval.DocsLength} elastic#143224
  Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:eval.DocsByteLength} elastic#143223
  Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:docs.DocsBitLength} elastic#143222
  Fix FloatVectorScorerSupplier bulkScore bug (elastic#143211)
  ESQL: Add data node execution for external sources (elastic#143209)
  [ESQL] Cleanup commands docs (elastic#143058)
  [ML]Fix latest transforms disregarding updates when sort and sync fields are non-monotonic (elastic#142856)
  Mute org.elasticsearch.index.mapper.IpFieldMapperTests testSyntheticSourceInObject elastic#143212
  Tests: Fix StoreDirectoryMetricsIT (elastic#143084)
  ESQL: Add distribution strategy for external sources (elastic#143194)
  CSV IT spec (elastic#142585)
  Fix VectorScorerOSQBenchmark.score to read corrections properly (elastic#143137)
  ...
@thecoop thecoop deleted the fix-osq-benchmark-bulk-reading branch March 2, 2026 09:04
tballison pushed a commit to tballison/elasticsearch that referenced this pull request Mar 3, 2026
…tic#143137)

* Fix VectorScorerOSQBenchmark to read corrections properly

* Use existing scratch buffer
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.

4 participants