elasticsearch/elasticsearch — pull request #4774 by martijnvg (2014-01-16 21:16:49+00:00)
Title: p/c filters should never cache

Made sure that any filter that wraps a p/c filter (has_child & has_parent) either directly or indirectly will never be cached by making CustomQueryWrappingFilter extend from NoCacheFilter.

This PR relies on #4768 otherwise the fix doesn't work.