File tree Expand file tree Collapse file tree 2 files changed +47
-7
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search Expand file tree Collapse file tree 2 files changed +47
-7
lines changed Original file line number Diff line number Diff line change @@ -384,9 +384,6 @@ tests:
384384- class : org.elasticsearch.datastreams.lifecycle.DataStreamLifecycleServiceIT
385385 method : testLifecycleAppliedToFailureStore
386386 issue : https://github.com/elastic/elasticsearch/issues/124999
387- - class : org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
388- method : test {p0=search/610_function_score/Random}
389- issue : https://github.com/elastic/elasticsearch/issues/125010
390387- class : org.elasticsearch.xpack.ilm.DataStreamAndIndexLifecycleMixingTests
391388 method : testGetDataStreamResponse
392389 issue : https://github.com/elastic/elasticsearch/issues/125083
@@ -399,6 +396,9 @@ tests:
399396- class : org.elasticsearch.index.engine.ThreadPoolMergeSchedulerTests
400397 method : testSchedulerCloseWaitsForRunningMerge
401398 issue : https://github.com/elastic/elasticsearch/issues/125236
399+ - class : org.elasticsearch.reservedstate.service.ReservedClusterStateServiceTests
400+ method : testProcessMultipleChunks
401+ issue : https://github.com/elastic/elasticsearch/issues/125305
402402
403403# Examples:
404404#
Original file line number Diff line number Diff line change 7171 }
7272 },
7373 " random_score " : {
74- " seed " : 10
74+ " seed " : 10,
75+ " field " : " uuid"
7576 }
7677 }
7778
7879 - length : { hits.hits: 2 }
7980 - match : { hits.total.value: 2 }
8081
82+ ---
83+ " No field only runs on 9.x " :
84+ - requires :
85+ cluster_features : [ "gte_v9.0.0" ]
86+ reason : " empty field works seamlessly (relying on _seqno since 9.x)"
87+ - do :
88+ indices.create :
89+ index : test
90+ body :
91+ mappings :
92+ properties :
93+ text :
94+ type : text
95+
96+ - do :
97+ index :
98+ index : test
99+ id : " 1"
100+ body : { text: "foo bar", uuid: 1234 }
101+
102+ - do :
103+ index :
104+ index : test
105+ id : " 2"
106+ body : { text: "high bar", uuid: 5678 }
107+
108+ - do :
109+ index :
110+ index : test
111+ id : " 3"
112+ body : { text: "raise bar", uuid: 9012 }
113+
114+ - do :
115+ index :
116+ index : test
117+ id : " 3"
118+ body : { text: "raise hands", uuid: 3456 }
119+
120+ - do :
121+ indices.refresh :
122+ index : [ test ]
81123 - do :
82124 search :
83125 index : test
91133 }
92134 },
93135 " random_score " : {
94- " seed " : 10,
95- " field " : " uuid"
136+ " seed " : 10
96137 }
97138 }
98-
99139 - length : { hits.hits: 2 }
100140 - match : { hits.total.value: 2 }
You can’t perform that action at this time.
0 commit comments