StringIndexOutOfBoundsException with parser/EscapeQuerySyntaxImpl.java
I'm not sure if the issue should be reported here or better to
[hidden email] , but here it is.
When using "lucene-queryparser-6.3.0", specifically
when escaping strings containing extended unicode chars, and with a locale
distinct from that of the character set the string uses, the process fails,
with a "java.lang.StringIndexOutOfBoundsException".
The reason seems to be that the comparison is done by previously converting
all of the characters of the string to lower case chars, and by doing this,
the original string size isn't anymore the same, but less, as of the
transformed one, so that executing