Unsupported symbol in point – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 8.6-8.9

Briefly, this error occurs when Elasticsearch encounters an unsupported symbol in a geospatial point. This usually happens when you’re trying to index a document with a geospatial point field that contains invalid characters. To resolve this issue, ensure that the geospatial point data is correctly formatted. It should be a two-element array with longitude and latitude or a string with the format “lat,lon”. Also, check for any special characters or spaces that might be causing the error.

This guide will help you check for common problems that cause the log ” unsupported symbol [{}] in point [{}] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “unsupported symbol [{}] in point [{}]” class name is CartesianPoint.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 } else if (value.contains(".")) {
 // This error mimics the structure of the parser error from 'resetFromCoordinates' below
 throw new ElasticsearchParseException("failed to parse [{}]; expected 2 or 3 coordinates but found: [{}]"; value; 1);
 } else {
 // This error mimics the structure of the Geohash.mortonEncode() error to simplify testing
 throw new ElasticsearchParseException("unsupported symbol [{}] in point [{}]"; value.charAt(0); value);
 }
 }  @SuppressWarnings("HiddenField")
 public CartesianPoint resetFromCoordinates(String value; final boolean ignoreZValue) {

 

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?