elasticsearch/elasticsearch — pull request #5553 by s1monw (2014-03-26 14:16:14+00:00)
Title: Convert TermQuery to PrefixQuery if PHRASE_PREFIX is set

We miss to add a single term to a prefix query if the query in only a
single term.

Closes #5551