I am using OSX El capitan, ES 2.1. When I reindex It throw these errors:
Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [fields] has unsupported parameters: [file : {type=string}]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [attachment]: Mapping definition for [fields] has unsupported parameters: [file : {type=string}]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [fields] has unsupported parameters: [file : {type=string}]"}},"status":400}
what is the problem and how to fix? thanks a lot
When I start ES it also threw error
[2016-03-07 08:51:26,982][WARN ][index.translog ] [Scarlet Beetle] [versions][4] failed to delete temp file /usr/local/var/elasticsearch/elasticsearch_capuchino/nodes/0/indices/versions/4/translog/translog-8945599092104577137.tlog java.nio.file.NoSuchFileException: /usr/local/var/elasticsearch/elasticsearch_capuchino/nodes/0/indices/versions/4/translog/translog-8945599092104577137.tlog
I searched and it seem to error in ES 2.1? how to upgrade to 2.2 in mac or have another way to fix?
thanks a lot (bow)