This will work fine incase of one child document. Let's say if i want to delete multiple child documents then what should be the query?
Am trying like,
{
"query" : {
"match" : {
"_parent" : [1,2]
}
}
}
it's giving below error "{"error":{"root_cause":[{"type":"illegal_state_exception","reason":"Can't get text on a START_ARRAY at 1:30"}],"type":"illegal_state_exception","reason":"Can't get text on a START_ARRAY at 1:30"},"status":500}"
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.