i have a field in xml file <DeviceType>Accessory Data / Memory</DeviceType> 
solr schema field declared as   <field name="deviceType" type="text"
indexed="true" stored="true" />

I am trying to eliminate results by using NOT. For example I want all
devices for a term except where DeviceType is not Accessory*

SO here is what i m trying
/solr/select?indent=on&version=2.2&q=(sharp+AND+-deviceType:Access*)&qt=dismax&wt=standard

But for some reason its giving me all results for "sharp" irrespective of
what devicetype is

It works fine with fq=-deviceType:Accessory but due to some other
application constraint we want to use 
q=(sharp+AND+-deviceType:Access*)

Any thoughts what i m doing wrong?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/NOT-operator-not-working-tp2365831p2365831.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to