You just save my life. The query you shared is working.
Now the result returns the parent document when there no children as I want to delete all the parent resume that not longer contain children.
(is there a better way to delete parent doc without retrieve, loop, and delete ?)
like one API call that helps clean up will be awesome if exist)
I changed the 2nd query to make it happen as the"relation_type" field is not working.
The "relation_type" you shared suppose to change to "my_join_field"?
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.