On Mon, Nov 15, 2010 at 12:42 AM, Viswa S wrote:
>
> Apologies for starting a new thread again, my mailing list subscription
> didn't finalize till later than Yonik's response.
>
> Using "Field1:Val1 AND (*:* NOT Field2:Val2)" works, thanks.
>
> Does my original query "Field1:Value1 AND (NOT Fiel
Apologies for starting a new thread again, my mailing list subscription didn't
finalize till later than Yonik's response.
Using "Field1:Val1 AND (*:* NOT Field2:Val2)" works, thanks.
Does my original query "Field1:Value1 AND (NOT Field2:Val2)" fall into "need
the *:* trick if all of the clause
On Sun, Nov 14, 2010 at 4:17 AM, Leonardo Menezes
wrote:
> try
> Field1:Val1 AND (*:* NOT Field2:Val2), that shoud work ok
That should be equivalent to Field1:Val1 -Field2:Val2
You only need the *:* trick if all of the clauses of a boolean query
are negative.
-Yonik
http://www.lucidimagination.c
try
Field1:Val1 AND (*:* NOT Field2:Val2), that shoud work ok
On Sun, Nov 14, 2010 at 9:02 AM, Viswa S wrote:
>
> Dear Solr/Lucene gurus,
> I have run into a weird issue trying use a negative condition in my query.
> Parser:StandardQueryParserMy Query: Field1:Val1 NOT Field2:Val2Resolved as:
> F