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 <yo...@heliosearch.com> wrote:

> On Fri, Nov 8, 2013 at 10:33 AM, Patrick Duc <patrick_...@yahoo.fr> 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
>

Reply via email to