Hello,

Since I am not sure it’s a bug or a known issue (I could not find any JIRA 
ticket related to this error) or even if it is on purpose, I am writing to this 
mailing first (before opening a JIRA ticket).

We are using the tagging and excluding syntax in Solr and we have noticed that 
when we combine it with parenthesis it may raise a syntax error.

Let me give you an example below:
fq={!tag=myTag1}myField1:(myValue1 myValue2) OR 
{!tag=myTag2}myField2:(anotherValue anotherValue2)
raises a syntaxError.

Though we can use multiple tags when we are not using multi-value filtering 
(fq={!tag=myTag1}myField1:myValue1 OR {!tag=myTag2}myField2:anotherValue) does 
work fine, we are curious to know why an error occurs when parenthesis comes in.

Can you help on that?

Best,

Marwan

Reply via email to