http://wiki.apache.org/solr/SolrQuerySyntax has answers for you.

-Simon

On Thu, Aug 25, 2011 at 1:04 AM, Ranveer Kumar <ranveer.s...@gmail.com>wrote:

> any help...
>
> On Wed, Aug 24, 2011 at 12:58 PM, Ranveer Kumar <ranveer.s...@gmail.com
> >wrote:
>
> > 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
> >>
> >>
> >>
> >>
> >
>

Reply via email to