Error trying to set up geo_shape field on ElasticSearch

Hi Team,

I am trying to set up one of my schema fields as geo_shape via elasticsearch-doc-mapping.json but it throws an error shown below

, status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [geo_shape] declared on field [geoloc:coords]"}],"type":"mapper_parsing_exception","reason":"No handler for type [geo_shape] declared on field [geoloc:coords]"},"status":400}

The json mapping works geo_point field but not for geo_shape.

Can someone please help?

0 votes

0 answers

600 views

ANSWER