File tree 1 file changed +2
-2
lines changed
server/src/main/java/org/elasticsearch/index/query
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public GeoShapeQueryBuilder(StreamInput in) throws IOException {
170
170
indexedShapeType = in .readOptionalString ();
171
171
indexedShapeIndex = in .readOptionalString ();
172
172
indexedShapePath = in .readOptionalString ();
173
- if (in .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
173
+ if (in .getVersion ().onOrAfter (Version .V_6_4_0 )) {
174
174
indexedShapeRouting = in .readOptionalString ();
175
175
} else {
176
176
indexedShapeRouting = null ;
@@ -197,7 +197,7 @@ protected void doWriteTo(StreamOutput out) throws IOException {
197
197
out .writeOptionalString (indexedShapeType );
198
198
out .writeOptionalString (indexedShapeIndex );
199
199
out .writeOptionalString (indexedShapePath );
200
- if (out .getVersion ().onOrAfter (Version .V_7_0_0_alpha1 )) {
200
+ if (out .getVersion ().onOrAfter (Version .V_6_4_0 )) {
201
201
out .writeOptionalString (indexedShapeRouting );
202
202
} else if (indexedShapeRouting != null ) {
203
203
throw new IllegalStateException ("indexed shape routing cannot be serialized to older nodes" );
You can’t perform that action at this time.
0 commit comments