elasticsearch/elasticsearch — pull request #7876 by imotov (2014-09-25 16:35:14+00:00)
Title: Fix NumberFormatException in Simple Query String Query

Incorrect usage of XContentParser.hasTextCharacters() can result in NumberFormatException as well as other possible issues in template query parser and phrase suggest parsers.

Fixes #7875