Problem indexing parent+child in 6.0.1

In ElasticSearch (ES) 5.6.4, I was able to index a new parent document along with multiple child documents within a bulk (new children related to new parent). I can no longer do this in 6.0.1. I get the error:

can't specify parent if no parent field has been configured

Here is the relevant part of the (now single) type mapping:

"join_role": {

I then index the parent with:

"join_role": "user"

and the children with:

"join_role": {
      "name": "msg",
      "parent": "<parent_id>"

I want to make sure other people are experiencing this before I file a bug report. Thanks in advance.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.