How to add a new relation to an existing join field

hi,guys
I use Elasticsearch and the version is 6.0 ,I created a parent-child relationship field in accordance with the official document.The document said “It is possible to add a new relation to an existing join field.”,But did not tell how to do it specifically.I tried many ways without success,The elasticsearch return the same error “Field [_parent_join] is defined twice in [doc]”,I want to know how to do it.
thanks!

2 Likes

What is it you are trying to achieve?

Just want to know how to update the join field.

Are you looking to move a child from one parent to another?

I created a join field in accordance with the official document,the question and the answer。Now,I want to add another field named “commet”,This field is the answer field’s son 。How to add existed join field。thanks
The document said “It is possible to add a new relation to an existing join field.”

It sounds like you are looking for this example.

thanks!,But how to add a new relation to an existing join field?

I am not sure I follow what you are trying to do. What does the structure you want to implement look like?


Specific details how to do it

how to update?

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