You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Muḥammad T Jack (JIRA)" <ji...@apache.org> on 2016/11/03 08:40:58 UTC

[jira] [Created] (SOLR-9722) Can not parse query contains space before forward slash

Muḥammad T Jack created SOLR-9722:
-------------------------------------

             Summary: Can not parse query contains space before forward slash
                 Key: SOLR-9722
                 URL: https://issues.apache.org/jira/browse/SOLR-9722
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: query parsers, search, SolrCloud
    Affects Versions: 5.5.2
            Reporter: Muḥammad T Jack


Hi,

I got an error when do search on Solr 5.5.2, but works fine on Solr  1.4.

for q:
works fine:    a/b
                     a/ b
                     a b
but not work: a / b
"msg": "org.apache.solr.search.SyntaxError: Cannot parse 'a / b': Lexical error at line 1, column 6.  Encountered: <EOF> after : \"/ b\"",

our data contains a company name called "Zuo Zuo / Zuozuo Dessert Nouyo"
It just related query parse.
So. what is the difference between 'a/ b' and 'a / b' ?
It's not work for us on Solr 5.5.2.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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