You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search fails with NumberFormatException[For input string: \"PHRASE|SLOP\"]; exception.
The problem occurs because simple_query_string parser is using XContentParser.hasTextCharacters() method to check for the presence of text in the token, while this method should be only used to detect internal presentation of the string.
Incorrect usage of XContentParser.hasTextCharacters() can result in NumberFormatException as well as other possible issues in template query parser and phrase suggest parsers.
Fixeselastic#7875
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
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
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
Incorrect usage of XContentParser.hasTextCharacters() can result in NumberFormatException as well as other possible issues in template query parser and phrase suggest parsers.
Fixeselastic#7875
To reproduce:
The search fails with
NumberFormatException[For input string: \"PHRASE|SLOP\"];
exception.The problem occurs because
simple_query_string
parser is usingXContentParser.hasTextCharacters()
method to check for the presence of text in the token, while this method should be only used to detect internal presentation of the string.The issue was originally reported on the mailing list https://groups.google.com/forum/#!topic/elasticsearch-ru/SeiifNQW-qo
The text was updated successfully, but these errors were encountered: