Elasticsearch geo_bounding_box failed to derive xcontent Elasticsearch geo_bounding_box failed to derive xcontent elasticsearch elasticsearch

Elasticsearch geo_bounding_box failed to derive xcontent


In case some one else has the same problem, here's the solution I found. In the curl query I wrote -d'[JSON]' and simply removing the ' around the [JSON] did the trick. Now Elasticsearch can read the query.I have moved on to experimenting with geo_shape query instead as pickypg suggested.

CORRECT: -d [JSON] INCORRECT: -d '[JSON]'