I tried "-" even, but it works only with standard queries, but not "dismax".

regards,
Naga

-----Original Message-----
From: Koji Sekiguchi [mailto:k...@r.email.ne.jp] 
Sent: Thursday, April 29, 2010 9:46 AM
To: solr-user@lucene.apache.org
Subject: Re: NOT keyword - doesn't work with dismax?

Naga Darbha wrote:
> Hi,
>
> I am trying the NOT clause with dismax query type, and it is not working.  It 
> works with the standard query type.  I tried the following query:
>
> q=NOT+keyword&fq=&qt=dismax&start=0&rows=26&fl=score
>
> But, when I replace qt=standard, it works.
>
> How to make it work with dismax query type?
>
> regards,
> Naga
>
>   
Use "-" instead of NOT when you use dismax.

http://wiki.apache.org/solr/DisMaxRequestHandler#q

Koji

-- 
http://www.rondhuit.com/en/

Reply via email to