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