Skip to content

RandomScoreFunction requires a defined field with disabled _seq_no#144046

Merged
romseygeek merged 2 commits intoelastic:mainfrom
romseygeek:seqno/random-score-function
Mar 12, 2026
Merged

RandomScoreFunction requires a defined field with disabled _seq_no#144046
romseygeek merged 2 commits intoelastic:mainfrom
romseygeek:seqno/random-score-function

Conversation

@romseygeek
Copy link
Copy Markdown
Contributor

We can't fall back to using sequence numbers as a source for
random scores when they are disabled, so instead a random score
function defined with no seed and no source field will throw an
error in this situation.

Relates to #136305

…e disabled

We can't fall back to using sequence numbers as a source for random scores
when they are disabled, so instead a random score function defined with
no seed and no source field will throw an error in this situation.
@romseygeek romseygeek self-assigned this Mar 11, 2026
@elasticsearchmachine elasticsearchmachine added the Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch label Mar 11, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Contributor

@fcofdez fcofdez left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

:shipit:

@romseygeek romseygeek merged commit ad375f9 into elastic:main Mar 12, 2026
36 checks passed
@romseygeek romseygeek deleted the seqno/random-score-function branch March 12, 2026 10:30
michalborek pushed a commit to michalborek/elasticsearch that referenced this pull request Mar 23, 2026
…e disabled (elastic#144046)

We can't fall back to using sequence numbers as a source for random scores
when they are disabled, so instead a random score function defined with
no seed and no source field will throw an error in this situation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants