Parameter radius is not supported for type – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.2-8.9

Briefly, this error occurs when you’re trying to use a parameter that is not compatible with the data type you’re working with in Elasticsearch. In this case, the ‘radius’ parameter is not supported for the specified type. To resolve this issue, you can either change the data type to one that supports the ‘radius’ parameter, or use a different parameter that is compatible with the current data type. Additionally, ensure that your Elasticsearch version supports the ‘radius’ parameter as it may have been deprecated in newer versions.

This guide will help you check for common problems that cause the log ” parameter radius is not supported for type ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .

Log Context

Log “parameter radius is not supported for type” class name is GeoJson.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 }
 if (orientation != null) {
 throw new ElasticsearchParseException("parameter orientation is not supported for type " + type);
 }
 if (radius != null) {
 throw new ElasticsearchParseException("parameter radius is not supported for type " + type);
 }
 }  /**
 * Recursive method which parses the arrays of coordinates used to define

 

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?