We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 219bb88 commit 5f329bdCopy full SHA for 5f329bd
src/main/java/org/elasticsearch/action/search/SearchRequest.java
@@ -21,7 +21,6 @@
21
22
import org.elasticsearch.ElasticsearchGenerationException;
23
import org.elasticsearch.ElasticsearchIllegalArgumentException;
24
-import org.elasticsearch.Version;
25
import org.elasticsearch.action.ActionRequest;
26
import org.elasticsearch.action.ActionRequestValidationException;
27
import org.elasticsearch.action.IndicesRequest;
@@ -545,9 +544,6 @@ public Boolean queryCache() {
545
544
@Override
546
public void readFrom(StreamInput in) throws IOException {
547
super.readFrom(in);
548
- if (in.getVersion().before(Version.V_1_2_0)) {
549
- in.readByte(); // backward comp. for operation threading
550
- }
551
searchType = SearchType.fromId(in.readByte());
552
553
indices = new String[in.readVInt()];
0 commit comments