Using indexMany mapping, and getting this error:
Invalid NEST response built from a successful (404) low level call on POST: /cat/_bulk
Invalid Bulk items:
Audit trail of this API call:
- [1] HealthyResponse: Node: http://localhost:5601/ Took: 00:00:02.3891127
Request:
{"index":{"_id":"1"}} {"id":1,"productCount":0,"name"[{"languageId":0,"text":"Computers"}],"analyzedName":[{"languageId":0,"text":"Computers"}],"seName":[{"languageId":0,"text":"computers"},{"languageId":1,"text":"computers"}]}
Response:
{"statusCode":404,"error":"Not Found","message":"Not Found"}
Mapping of cat index:
PUT cat/_mapping
{
"properties" : {
"id" : {
"type" : "long"
},
"analyzedName" : {
"type" : "nested",
"properties" : {
"languageId" : {
"type" : "integer"
},
"text" : {
"type" : "text",
"analyzer" : "bigram_combiner"
}
}
},
"name" : {
"type" : "nested",
"properties" : {
"languageId" : {
"type" : "integer"
},
"text" : {
"type" : "text"
}
}
},
"seName" : {
"type" : "nested",
"properties" : {
"languageId" : {
"type" : "integer"
},
"text" : {
"type" : "text"
}
}
},
"productCount" : {
"type" : "integer"
}
}
}