The has_child, has_parent and top_children now only work in the search api due to how this api executed these queries. These queries should also work in other apis, like count, explain and delete by query apis.
+1, also good for #2705 and #1566?
…lters) in other apis than just search api. The queries are also now supported in count, explain (return dummy explination) and delete by query apis.
Migrate SearchContext.Rewrite to Releasable. All the parent child queries are now implemented as Lucene queries and the state is kept in the Weight.
Completely disable caching for `has_child` and `has_parent` filters, this has never worked and it also can also never work. The matching docIds are cached per segment while the collection of parent ids is top level.