elasticsearch/elasticsearch — pull request #6733 by martijnvg (2014-07-04 12:46:16+00:00)
Title: The query string cache should returned clones Query instances.

The query string cache can't return the same instance, since Query is mutable changing the query else where in the execution path changes the instance in the cache too.

Fixes #2542