Skip to content

Conversation

@pmpailis
Copy link
Contributor

Closes #114757

Yet another doc-dependant issue.. 😞 The issue this time is that in the "fake" reranker we deploy for tests, we assign a score to each document based on the order that it was received.
However, even if we sort the documents for the nested standard retriever, we still sort based on doc on the shards in order to execute fetch phase, so the final order with which we call the inference service is actually based on doc and not on the original score.

This is not an issue for a service that produces actual scores, but in this scenario where the final score is dependant on the position of the document in the inference request, it could cause issues.

Updating query clauses (for yet another time) + relaxing clause validation.

@pmpailis pmpailis added >test Issues or PRs that are addressing/adding tests :Search Relevance/Ranking Scoring, rescoring, rank evaluation. auto-backport Automatically create backport pull requests when merged v9.0.0 v8.16.1 v8.17.0 labels Oct 16, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Oct 16, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@pmpailis pmpailis removed the v8.16.1 label Oct 17, 2024
@pmpailis pmpailis merged commit 8d0e630 into elastic:main Oct 17, 2024
16 checks passed
pmpailis added a commit to pmpailis/elasticsearch that referenced this pull request Oct 17, 2024
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Search Relevance/Ranking Scoring, rescoring, rank evaluation. Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch >test Issues or PRs that are addressing/adding tests v8.17.0 v9.0.0

Projects

None yet

3 participants