elasticsearch/elasticsearch — pull request #4768 by martijnvg (2014-01-16 18:47:45+00:00)
Title: Added no-cache infrastucture the the filter cache.

During query parsing if a filter is encountered that extends from NoCacheFilter then the filter will not be given to the filter cache (also not wrapped in FilterCacheFilterWrapper). Also if a filter directly or indirectly wraps a NoCacheFilter then that filter will also not be cached.

This addition is useful for p/c filters, date range filters that use `NOW` in the range expressions and perhaps other filters.

Relates to #4757