usually parent field is updated using

POST /dsdemo/content/child11787?parent=parent1
{
    "title": "The 111 document",
    "body": "This 111 could be huge #14"
}


instead of this can we try to update parent like this

POST /dsdemo/content/child11787
{
    "title": "The 111 document",
    "body": "This 111 could be huge #14",
    "parent":"parent1"
}

or may be

POST /dsdemo/content/child11787
{
    "title": "The 111 document",
    "body": "This 111 could be huge #14",
    "_parent":"parent1"
}


-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/55dc90a8-09c2-4879-bf33-73f040f60d4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to