elasticsearch/elasticsearch — pull request #5846 by martijnvg (2014-04-17 09:43:32+00:00)
Title: Make us of global ordinals in parent/child queries

By using global ordinals in p/c the execution will be much more efficient and therefor the time it takes to execute will much lower.

At the moment this PR only cuts over the `has_child` filter and query without score_mode (ChildrenConstantScoreQuery) to use global ordinals (via a `execution_hint` option, which is set to `global_ordinals` by default).