elasticsearch/elasticsearch — pull request #6743 by s1monw (2014-07-05 07:55:45+00:00)
Title: [QUERY] Remove Queries#optimizeQuery(...)

This method tires to optimize boolean queries if there is only
one clause. Yet BooleanQuery already does that internally This
optimization is unneeded.