Field fieldName found and unknown shape Circle – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7-7.6

Briefly, this error occurs when Elasticsearch encounters an unknown shape type, in this case, “Circle”, in the field specified. Elasticsearch supports specific shapes like point, linestring, polygon, multipoint, etc., but not circle. To resolve this, you can either change the shape type to a supported one or represent the circle using a supported shape, like a polygon. Alternatively, you can use a geo_point data type and calculate distances to simulate a circle.

This guide will help you check for common problems that cause the log ” Field [” + fieldName + “] found and unknown shape Circle ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: index, query.

Log Context

Log “Field [” + fieldName + “] found and unknown shape Circle” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 this.relation = relation;
 }  @Override
 public Query visit(Circle circle) {
 throw new QueryShardException(context; "Field [" + fieldName + "] found and unknown shape Circle");
 }  @Override
 public Query visit(GeometryCollection collection) {
 BooleanQuery.Builder bqb = new BooleanQuery.Builder();


How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?