Hi.

I am trying to do query where I need to include empty values and exclude
some specific data.
For instance my field name is "Industry" and my query looks like
(-Industry:"Agriculture") OR (-Industry:[* TO *])

I want to get all empty values OR industries which are not Agriculture. This
query does not work for me.
I tried it to split in two and it works. 
First query --> (-Industry:"Agriculture") 
Second Query --> (-Industry:[* TO *])

Any idea?

Thanks
Sergio



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Query-excluding-empty-values-and-some-criteria-tp4014498.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to