mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
[ML] The sort field on get records should default to the record_score (#33358)
This is not changing the behaviour as when the sort field was set to `influencer_score` the secondary sort would be used and that was using the `record_score` at the highest priority.
This commit is contained in:
parent
84eaac79d7
commit
1457b07a06
3 changed files with 5 additions and 8 deletions
|
@ -54,11 +54,11 @@ include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-get-records-r
|
|||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-get-records-sort]
|
||||
--------------------------------------------------
|
||||
<1> The field to sort records on. Defaults to `influencer_score`.
|
||||
<1> The field to sort records on. Defaults to `record_score`.
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-get-records-end]
|
||||
include-tagged::{doc-tests}/MlClientDocumentationIT.java[x-pack-ml-get-records-start]
|
||||
--------------------------------------------------
|
||||
<1> Records with timestamps on or after this time will be returned.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue