Using Parent-Child Rleatioshio with Join

This sound like a very strange requirement to me, at least from the perspective of a search engine. This is also why I we don't implement anything like this in Elasticsearch. I would add this kind of query blacklist somewhere in your application logic that stores all querys that you don't want to return anything anymore. This way you can return fast and don't even have to run those queries in ES.

1 Like