Skip to content

Feature/8941 improve search ranking consistency - #362

Merged
utas-raymondng merged 5 commits into
mainfrom
feature/8941-improve-search-ranking-consistency
Oct 13, 2026
Merged

utas-raymondng merged 5 commits into
mainfrom
feature/8941-improve-search-ranking-consistency

Conversation

@shaunahu

@shaunahu shaunahu commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds an optional preference setting to the CQL filter for collection search and explain, e.g. filter=preference='search-ranking-test' AND page_size=11. Requests with the same value always go to the same Elasticsearch shard copies, so repeated searches get the same scores and order. This fixes the ranking flakiness in the automated ranking tests (backlog #8941). The setting also applies to paging and to both explain endpoints.

image

@shaunahu
shaunahu marked this pull request as ready for review October 13, 2026 03:12

@utas-raymondng utas-raymondng left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@utas-raymondng
utas-raymondng merged commit f5748d9 into main Oct 13, 2026
4 checks passed
@utas-raymondng
utas-raymondng deleted the feature/8941-improve-search-ranking-consistency branch October 13, 2026 03:22

This branch was successfully deployed

1 active deployment
test — aa0e7ead Deployed Oct 13, 2026 by shaunahu via build_test #875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants