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

Saar Carmi updated SOLR-8345:
-----------------------------
    Description: 
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.

  was:
When sending a query for a numeirc field with &fq=myfield:(-1) the query is 
parsed as myfield:1 

Probably my fault not following on the query language but I would expect it to 
be either parsed as myfield:"-1" or an exception to be returned.


> 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]

Reply via email to