Parent Child Example Woes

I'm an absolute ES beginner. I've been trying to create a parent child relationship with some of my data using this example:

I couldn't make it work in Sense and finally tried the example itself, and it also failed. In all cases, the error was:

"type": "illegal_argument_exception",
"reason": "Can't specify parent if no parent field has been configured"

I'm using ES version 2.4.2 . Is there perhaps a more up to date version of the example anyone is aware of?


I found that the example code I was trying to run was for some version later than 2.4.2. It ran fine with 5+.

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