lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sascha Szott <sz...@zib.de>
Subject Re: problem with formulating a negative query
Date Tue, 06 Jul 2010 09:52:15 GMT
Hi,

Chris Hostetter wrote:
> AND, OR, and NOT are just syntactic-sugar for modifying
> the MUST, MUST_NOT, and SHOULD.  The default op of "OR" only affects the
> first clause of your query (R) because it doesn't have any modifiers --
Thanks for pointing that out!

-Sascha

> the second clause has that NOT modifier so your query is effectivley...
>
> 	topic:R -topic:[* TO *]
>
> ...which by definition can't match anything.
>
> -Hoss
>

Mime
View raw message