File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
core/src/main/java/org/elasticsearch/action/search
rest-api-spec/src/main/resources/rest-api-spec/test/search Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ public void readFrom(StreamInput in) throws IOException {
406406 indicesOptions = IndicesOptions .readIndicesOptions (in );
407407 requestCache = in .readOptionalBoolean ();
408408 batchedReduceSize = in .readVInt ();
409- if (in .getVersion ().onOrAfter (Version .V_6_0_0_beta1 )) {
409+ if (in .getVersion ().onOrAfter (Version .V_5_6_0 )) {
410410 maxConcurrentShardRequests = in .readVInt ();
411411 preFilterShardSize = in .readVInt ();
412412 }
@@ -428,7 +428,7 @@ public void writeTo(StreamOutput out) throws IOException {
428428 indicesOptions .writeIndicesOptions (out );
429429 out .writeOptionalBoolean (requestCache );
430430 out .writeVInt (batchedReduceSize );
431- if (out .getVersion ().onOrAfter (Version .V_6_0_0_beta1 )) {
431+ if (out .getVersion ().onOrAfter (Version .V_5_6_0 )) {
432432 out .writeVInt (maxConcurrentShardRequests );
433433 out .writeVInt (preFilterShardSize );
434434 }
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ public void readFrom(StreamInput in) throws IOException {
324324 }
325325 scrollId = in .readOptionalString ();
326326 tookInMillis = in .readVLong ();
327- if (in .getVersion ().onOrAfter (Version .V_6_0_0_beta1 )) {
327+ if (in .getVersion ().onOrAfter (Version .V_5_6_0 )) {
328328 skippedShards = in .readVInt ();
329329 }
330330 }
@@ -343,7 +343,7 @@ public void writeTo(StreamOutput out) throws IOException {
343343
344344 out .writeOptionalString (scrollId );
345345 out .writeVLong (tookInMillis );
346- if (out .getVersion ().onOrAfter (Version .V_6_0_0_beta1 )) {
346+ if (out .getVersion ().onOrAfter (Version .V_5_6_0 )) {
347347 out .writeVInt (skippedShards );
348348 }
349349 }
Original file line number Diff line number Diff line change 4040---
4141" pre_filter_shard_size with invalid parameter " :
4242 - skip :
43- version : " - 5.99 .99"
44- reason : this was added in 6.0 .0
43+ version : " - 5.5 .99"
44+ reason : this was added in 5.6 .0
4545 - do :
4646 catch : /preFilterShardSize must be >= 1/
4747 search :
5151---
5252" pre_filter_shard_size with shards that have no hit " :
5353 - skip :
54- version : " - 5.99 .99"
55- reason : this was added in 6.0 .0
54+ version : " - 5.5 .99"
55+ reason : this was added in 5.6 .0
5656 - do :
5757 index :
5858 index : index_1
You can’t perform that action at this time.
0 commit comments