I just happened to notice a typo when I mistyped a Unicode escape sequence in a 
query:

org.apache.lucene.queryparser.classic.ParseException: Cannot parse 
'sku:abc-0\ugabc0)': None-hex character in unicode escape sequence: g

“None-hex” should be “Non-hex”.

And “unicode” should be “Unicode”.

Same typo in both Solr 3.6 and trunk (as of 5/1).

My query:
http://localhost:8983/solr/select/?debugQuery=true&q=sku:abc-0\ugabc0) 

Dismax doesn’t get the error since apparently it doesn’t recognize Unicode 
escape sequences.

Edismax gets the same exact error as the Lucene query parser, which it uses.

Does this warrant a Jira?

-- Jack Krupansky

Reply via email to