On Fri, May 18, 2012 at 5:03 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > I am trying the following query and get only zero results (I
> > am supposed to
> > get 10 results according to my dataset)
> >
> > *http://mymachine:8983/solr/select/?q=-(HOSTID:302)*
> >
> > I also tried the below query and got zero results yet
> > again.
> >
> > *http://mymachine:8983/solr/select/?q=NOT(HOSTID:302)*
> >
> > However, I get 10 results(expected) when I put the query
> > this way,
> >
> > *http://mymachine:8983/solr/select/?q=-(HOSTID:302)AND(*:*)*
> >
> > Why is this strange thing happening? Is it a bug in solr or
> > am I missing
> > something?
>
> Why don't you just use /solr/select/?q=-HOSTID:302
>

Tried the same right at start, but never worked :(


-- 
With Thanks and Regards,
Ramprakash Ramamoorthy,
Project Trainee,
Zoho Corporation.
+91 9626975420

Reply via email to