Skip to content

Properly handle filters on TextSimilarityRank retriever#111673

Merged
pmpailis merged 2 commits intoelastic:mainfrom
pmpailis:add_filter_handling_for_textsimilarityrank_retriever
Aug 7, 2024
Merged

Properly handle filters on TextSimilarityRank retriever#111673
pmpailis merged 2 commits intoelastic:mainfrom
pmpailis:add_filter_handling_for_textsimilarityrank_retriever

Conversation

@pmpailis
Copy link
Copy Markdown
Contributor

@pmpailis pmpailis commented Aug 7, 2024

Currently, the filter specified in TextSimilarityRank retriever is ignored, so in this PR we account for that by propagating all top-level filters to the nested retriever, just before extracting it to source.

@pmpailis pmpailis added >bug :Search Relevance/Ranking Scoring, rescoring, rank evaluation. Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch labels Aug 7, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Hi @pmpailis, I've created a changelog YAML for you.

Copy link
Copy Markdown
Contributor

@john-wagster john-wagster left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.15

pmpailis added a commit to pmpailis/elasticsearch that referenced this pull request Aug 7, 2024
rjernst pushed a commit to rjernst/elasticsearch that referenced this pull request Aug 7, 2024
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this pull request Sep 4, 2024
@pmpailis pmpailis deleted the add_filter_handling_for_textsimilarityrank_retriever branch May 27, 2025 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Search Relevance/Ranking Scoring, rescoring, rank evaluation. Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v8.15.0 v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants