elasticsearch/elasticsearch — pull request #6767 by clintongormley (2014-07-07 12:35:15+00:00)
Title: Query DSL: Improved explanation for match_phrase_prefix

The match_phrase_prefix provided the same explanation as the match_phrase
query. There was no indication that the last term was run as a prefix
query.

This change marks the last term (or terms if there are multiple terms
in the same position) with a *

Closes #2449