elasticsearch/elasticsearch — pull request #7754 by alexksikes (2014-09-16 23:05:39+00:00)
Title: MLT Query: fix percent_terms_to_match

The parameter `percent_terms_to_match` (number of terms that must match in the
generated query) was wrongly set to the top level boolean query. This would
lead to zero or all results type of situations. This commit ensures that the
parameter is indeed applied to the query of generated terms.