|
This post has NOT been accepted by the mailing list yet.
I am using elasticsearch on windows using curl. I am getting MapperParsingException
Please suggest me some solution
It is working properly on linux system but on windows it's not working
PS C:\Users\Saxena> curl -XPUT localhost:9200/test/type/1 -d '{"test" : "value"}'
{"error":"MapperParsingException[failed to parse]; nested: JsonParseException[Unrecognized token 'value': was
('true', 'false' or 'null')\n at [Source: [B@591265d6; line: 1, column: 15]]; ","status":400}PS C:\Users\Saxe
calhost:9200/test/_mapping?pretty=1
{
"test" : {
"mappings" : {
"type" : {
"_source" : {
"enabled" : false
},
"properties" : { }
}
}
}
}
Thanks in advance :D
|