Re: Unexpected query result

2013-11-08 Thread Patrick Duc
Thank you for your very quick reply - and for your solution, that works perfectly well. Still, I wonder why this simple and straightforward syntax "web OR NOT(russia)" needs some translation to be processed correctly... >From the many related posts I read before asking my question, I know that I'm

Re: Unexpected query result

2013-11-08 Thread Erick Erickson
Good blog on the fact that Solr/Lucene query language is not strict boolean logic, and why: http://searchhub.org/dev/2011/12/28/why-not-and-or-and-not/ Best, Erick On Fri, Nov 8, 2013 at 10:45 AM, Yonik Seeley wrote: > On Fri, Nov 8, 2013 at 10:33 AM, Patrick Duc wrote: > > "russia" ("web OR

Re: Unexpected query result

2013-11-08 Thread Yonik Seeley
On Fri, Nov 8, 2013 at 10:33 AM, Patrick Duc wrote: > "russia" ("web OR NOT(russia)" russia (web (*:* -russia)) Negative clauses often need something positive to subtract from... so replace "NOT russia" with "(*:* -russia)" -Yonik http://heliosearch.com -- making solr shine