The error response for search_geometry query with ES 6.7.2

Hello, I sent the search_geometry query to ES V6.7.2 and got error (see below). With another ES server V6.2.4 I got correct response without error. Is there any bug in version 6.7.2? Or could be this error caused by the ES configuration? Is possible to get ES configuration for the comparing via REST API?

Thanks!

invalid_shape_exception: maxY must be >= minY: 49.5287899237304 to 49.52649707772727 Failed to execute phase [query], all shards failed; shardFailures {[FgIThjxKTX6SYiWS-lyyrw][t__example_feature_qaxcgfmp][0]: RemoteTransportException[[localhost][127.0.0.1: 9300][indices: data/read/search[phase/query]]]; nested: QueryShardException[
failed to create query:
{
    "dis_max": {
        "tie_breaker": 0.0,
        "queries": [
            {
                "bool": {
                    "must": [
                        {
                            "type": {
                                "value": "example_feature",
                                "boost": 1.0
                            }
                        },
                        {
                            "bool": {
                                "must": [
                                    {
                                        "geo_shape": {
                                            "search_geometry": {
                                                "shape": {
                                                    "type": "envelope",
                                                    "coordinates": [
                                                        [
                                                            8.475764441148469,
                                                            49.52649707772727
                                                        ],
                                                        [
                                                            8.471344147143332,
                                                            49.5287899237304
                                                        ]
                                                    ]
                                                },
                                                "relation": "intersects"
                                            },
                                            "ignore_unmapped": false,
                                            "boost": 1.0
                                        }
                                    },
                                    {
                                        "match_all": {
                                            "boost": 1.0
                                        }
                                    }
                                ],
                                "adjust_pure_negative": true,
                                "boost": 1.0
                            }
                        }
                    ],
                    "adjust_pure_negative": true,
                    "boost": 1.0
                }
            }
        ],
        "boost": 1.0
    }
}

The error caused client and server version incompatibility. The Java client has version 6.2.4 and with server version 6.2.4 works correctly, with server version 6.7.2 the error occurs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.