-
Notifications
You must be signed in to change notification settings - Fork 35
Error when trying to import data, using the binary file. #10
Copy link
Copy link
Open
Description
Hello,
I managed to install elasticsearch and have it up and running at localhost:9200. But when I try to import data by following the readme:
$ curl -XPOST localhost:8080/admin/setup -d@samples/example.json
I get the following error.
{"error":"2016-05-09 16:59:12.436297591 +0530 IST: Error [map[root_cause:[map[type:illegal_argument_exception reason:Mapper for [Project] conflicts with existing mapping in other types:
[mapper [Project] has different [index] values, mapper [Project] has different [omit_norms] values, cannot change from disable to enabled, mapper [Project] has different [analyzer], mapper [Project] is used by multiple types. Set update_all_types to true to update [omit_norms] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]] type:illegal_argument_exception reason:Mapper for [Project] conflicts with existing mapping in other types:
[mapper [Project] has different [index] values, mapper [Project] has different [omit_norms] values, cannot change from disable to enabled, mapper [Project] has different [analyzer], mapper [Project] is used by multiple types. Set update_all_types to true to update [omit_norms] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]] Status [400] [400]"}
I specifically mention binary file as I haven't tried it using any other method (See Issue #9 ). Any help is appreciated. Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels