Hi, is it right way to do : q=(state:[* TO *] AND city:[* TO *])
regards Ranveer On Wed, Aug 24, 2011 at 12:54 PM, Ranveer Kumar <ranveer.s...@gmail.com>wrote: > Hi All, > > How to do negative query in solr. Following are the criteria : > I have state and city field where I want to filter only those state and > city which is not blank. something like: state NOT "" AND city NOT "". > I tried -state:"" but its not working. > > Or suggest me to do this in better way.. > > regards > Ranveer > > > >