[
https://issues.apache.org/jira/browse/SOLR-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-794:
--------------------------------
Attachment: SOLR-794.patch
bq. but this has one BIG functional change...
Right. I added a new escape() method and moved escapeQueryChars() javadoc to
the new method.
> ClientUtils.escapeQueryChars escapes chars a bit aggressive
> -----------------------------------------------------------
>
> Key: SOLR-794
> URL: https://issues.apache.org/jira/browse/SOLR-794
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 1.3
> Reporter: Koji Sekiguchi
> Priority: Trivial
> Fix For: 1.3.1, 1.4
>
> Attachments: SOLR-794.patch, SOLR-794.patch
>
>
> This was talked before at:
> http://www.nabble.com/ClientUtils-escape-query-td18833559.html
> I didn't notice it at that time though.
> This method outputs weird string when Japanese letters are given for example.
> "J1J2J3J4J5" => "\J1\J2\J3\J4\J5" We don't want to see it.
> It should use QueryParser.escape() code as it says in javadoc.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.