[
https://issues.apache.org/jira/browse/SOLR-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029175#comment-15029175
]
Ahmet Arslan commented on SOLR-8345:
------------------------------------
Saar, this is not a bug. Minus is a special query parser character. There are
other query parsers to query those special characters. For example, terms query
parser or raw query parser. Alternatively you can escape those special
characters.
Please rise your questions on the solr mailing list.
> Wrong query parsing
> -------------------
>
> Key: SOLR-8345
> URL: https://issues.apache.org/jira/browse/SOLR-8345
> Project: Solr
> Issue Type: Bug
> Reporter: Saar Carmi
> Priority: Minor
>
> When sending a query for a numeirc field with &fq=myfield:(-1) the query is
> parsed as -myfield:1
> I would expect it to be either parsed as myfield:"-1" or an exception to be
> returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]