Hi! I am trying to upload some data to elastic through a csv file which has multiple fields, out of which one is a nested field.
The mapping i defined is as follows-
"comments": {
"type": "nested",
"properties":{
"name":{
"type":"keyword"},
"rating":{
"type":"long"}
}
And the csv looks like-
The error I'm getting is-
0: object mapping for [comments] tried to parse field [comments] as object, but found a concrete value
Am i using the wrong format somewhere? Fairly new to elastic, any help would be greatly appreciated