Skip to content

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Jul 25, 2025

When adding score computation in ES91Int4VectorsScore, we missed scaling the vector interval. This commit adds this and refactors the test method to produce realistic results. This is a non-issue as the code is not used in production code.

@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Jul 25, 2025
Copy link
Contributor

@tteofili tteofili left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it looks much better, LGTM

@iverase iverase enabled auto-merge (squash) July 25, 2025 10:20
@iverase iverase disabled auto-merge July 25, 2025 10:20
@iverase iverase merged commit c65f94d into elastic:main Jul 25, 2025
31 of 32 checks passed
@iverase iverase deleted the fixES91Int4VectorsScorer branch July 25, 2025 10:20
szybia added a commit to szybia/elasticsearch that referenced this pull request Jul 25, 2025
…king * upstream/main: Fix score computation in ES91Int4VectorsScorer (elastic#131905)
szybia added a commit to szybia/elasticsearch that referenced this pull request Jul 25, 2025
…-tracking * upstream/main: (106 commits) Pipelines: Add `created_date` and `modified_date` (elastic#130847) add thread pool change availability (elastic#131734) Add failure store availability info / and port over privileges (elastic#131729) add availability information for ssl handshake timeout settings (elastic#131786) add availability information for rescore_vector (elastic#131710) add availability to oversample value of 0 (elastic#131707) clarify hnsw filter heuristic setting availability (elastic#131715) add availability info for default heap dump path change (elastic#131713) clarify default algorithms per stack version (elastic#131728) Refine error messages in `Fork` for correctness and clarity. (elastic#131701) [ES|QL] Replace RoundTo linear search evaluator with manual evaluators (elastic#131733) ESQL: Fix buildParams in tests with --configuration-cache (elastic#131826) Unmute `CrossClusterEsqlRCS2EnrichUnavailableRemotesIT#testEsqlEnrichWithSkipUnavailable` (elastic#131916) Allow templates for `.chat-*` index template (elastic#131914) ESQL: Fix NPE on empty to_lower/to_upper call (elastic#131917) Fix score computation in ES91Int4VectorsScorer (elastic#131905) Register a blob cache long counter metric for total evicted regions (elastic#131862) Move plan attribute resolution to its own component (elastic#131830) Make restore support multi-project (elastic#131661) Use logically more correct expression (elastic#131869) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Relevance/Vectors Vector search Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.2.0

3 participants