lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Sebastien Vachon <>
Subject RE: SOLR-2209
Date Fri, 20 May 2011 01:11:22 GMT
I'm using Solr 1.4...

I thought I had a case without a NOT but it seems to work now :S
It might be a glitch on my server.

The problem is easily reproducible with the NOT operator

both queries returns 0 results while...
(note the position of the negation operator)

returns more than 50 000 results

-----Original Message-----
From: Erick Erickson [] 
Sent: May-19-11 9:53 AM
Subject: Re: SOLR-2209

What version of Solr are you using? Because this works fine for me.

Could you attach the results of adding &debugQuery=on in both instances?
The parsed form of the query is identical in 1.4.1 as far as I can tell. The
bug you're referencing is a peculiarity of the not (-) operator I think.


On Thu, May 19, 2011 at 7:25 AM, Jean-Sebastien Vachon
<> wrote:
> Hi All,
> I am having some problems with the presence of unnecessary  parenthesis in
my query.
> A query such as:
>                title:software AND (title:engineer) will return no 
> results. Remove the parenthesis fix the issue but then since my user can
enter the parenthesis by himself I need to find a way to fix or work-around
this bug. I found that this is related to SOLR-2209 but there is no activity
on this bug.
> Anyone know if this will get fixed some time in the future or if it is
already fixed in Solr 4?
> Otherwise, could someone point me to the code handling this so that I can
attempt to make a fix?
> Thx

View raw message