You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ishan Chattopadhyaya (JIRA)" <ji...@apache.org> on 2015/11/26 18:57:11 UTC
[jira] [Commented] (SOLR-8345) Wrong query parsing
[ https://issues.apache.org/jira/browse/SOLR-8345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029143#comment-15029143 ]
Ishan Chattopadhyaya commented on SOLR-8345:
--------------------------------------------
Why would you need to put round brackets around the -1?
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org