You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dorin Oltean (JIRA)" <ji...@apache.org> on 2014/01/27 14:39:38 UTC

[jira] [Updated] (SOLR-5669) queries containing \u return error: "Truncated unicode escape sequence."

     [ https://issues.apache.org/jira/browse/SOLR-5669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dorin Oltean updated SOLR-5669:
-------------------------------

    Description: 
When I do the following query:
/select?q=\ujb

I get 
{quote}
"org.apache.solr.search.SyntaxError: Non-hex character in Unicode escape sequence: j",
{quote}

To make it work i have to put in fornt of the query nother '\'
{quote}\\ujb{quote}
wich in fact leads to a different query in solr.

I use edismax qparser.

  was:
When I do the following query:
/select?q=\ujb

I get 
"org.apache.solr.search.SyntaxError: Non-hex character in Unicode escape sequence: j",
code 400

To make it work i have to put in fornt of the query nother '\'
\\ujb
wich in fact leads to a different query in solr.

I use edismax qparser.


> queries containing \u  return error: "Truncated unicode escape sequence."
> -------------------------------------------------------------------------
>
>                 Key: SOLR-5669
>                 URL: https://issues.apache.org/jira/browse/SOLR-5669
>             Project: Solr
>          Issue Type: Bug
>          Components: query parsers
>    Affects Versions: 4.4
>            Reporter: Dorin Oltean
>            Priority: Minor
>
> When I do the following query:
> /select?q=\ujb
> I get 
> {quote}
> "org.apache.solr.search.SyntaxError: Non-hex character in Unicode escape sequence: j",
> {quote}
> To make it work i have to put in fornt of the query nother '\'
> {quote}\\ujb{quote}
> wich in fact leads to a different query in solr.
> I use edismax qparser.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org