Exception parsing coordinates found Z value but ignore z value – How to solve this Elasticsearch exception

Opster Team

August-23, Version: 7.11-7.15

Before you dig into reading this guide, have you tried asking OpsGPT what this log means? You’ll receive a customized analysis of your log.

Try OpsGPT now for step-by-step guidance and tailored insights into your Elasticsearch operation.

Briefly, this error occurs when Elasticsearch encounters a Z value in the coordinates while parsing geo-points, but the “ignore_z_value” setting is not enabled. This setting allows Elasticsearch to ignore any Z values that represent altitude in the coordinates. To resolve this issue, you can either remove the Z value from your coordinates if it’s not needed, or you can set “ignore_z_value” to true in your mapping to allow Elasticsearch to ignore these values.

For a complete solution to your to your search operation, try for free AutoOps for Elasticsearch & OpenSearch . With AutoOps and Opster’s proactive support, you don’t have to worry about your search operation – we take charge of it. Get improved performance & stability with less hardware.

This guide will help you check for common problems that cause the log ” Exception parsing coordinates: found Z value [{}] but [ignore_z_value] ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: .

Log Context

Log “Exception parsing coordinates: found Z value [{}] but [ignore_z_value]” class name is GeoPoint.java. We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 return builder.latlon(lat; lon);
 }  public static double assertZValue(final boolean ignoreZValue; double zValue) {
 if (ignoreZValue == false) {
 throw new ElasticsearchParseException("Exception parsing coordinates: found Z value [{}] but [ignore_z_value] "
 + "parameter is [{}]"; zValue; ignoreZValue);
 }
 return zValue;
 }
}

 

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?