diff --git a/server/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java b/server/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java index c4a6f7fa6b7..5fb97769463 100644 --- a/server/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java +++ b/server/src/main/java/org/elasticsearch/index/query/GeoShapeQueryBuilder.java @@ -409,6 +409,7 @@ public class GeoShapeQueryBuilder extends AbstractQueryBuilder query.toQuery(createShardContext())); assertEquals("query must be rewritten first", e.getMessage()); @@ -244,6 +239,23 @@ public class GeoShapeQueryBuilderTests extends AbstractQueryTestCase