I am installing Akeneo on my server. It requires Elasticsearch installation as dependency. I have installed elastic search on my server.
Here its version:
root@s138225:/# curl "localhost:9200"
{
"name" : "Brute I",
"cluster_name" : "elasticsearch",
"version" : {
"number" : "2.4.0",
"build_hash" : "ce9f0c7394dee074091dd1bc4e9469251181fc55",
"build_timestamp" : "2016-08-29T09:14:17Z",
"build_snapshot" : false,
"lucene_version" : "5.5.2"
},
"tagline" : "You Know, for Search"
}
Now on the installation of Akeneo, it gives error when resetting elasticsearch indexes. It gives this error:
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on field [identifier]"}],"type":"mapper_parsing_exception","reason":"Failed to parse
mapping [pim_catalog_product]: No handler for type [keyword] declared on field [identifier]","caused_by":{"type":"mapper_parsing_exception","reason":"No handler for type [keyword] declared on
field [identifier]"}},"status":400}
Please let me know how to solve this.