On Fri, May 18, 2012 at 7:26 PM, Ahmet Arslan wrote:
> > > I don't think request handler should be a problem. I
> > have just used the *q
> > *parameter as follows.
> >
> > String q = params.get(CommonParams.Q);
> > IndexSchema schema = req.getSchema();
> > Query query = new QueryParsing().parseQ
> > I don't think request handler should be a problem. I
> have just used the *q
> *parameter as follows.
>
> String q = params.get(CommonParams.Q);
> IndexSchema schema = req.getSchema();
> Query query = new QueryParsing().parseQuery(q, schema);
>
> Hope there shouldn't be a problem with the abo
On Fri, May 18, 2012 at 6:20 PM, Ahmet Arslan wrote:
> > I am using the standard LuceneQParserPlugin and I have a
> > custom request
> > handler. I use solr 3.5
>
> I would test the same query with standard request handler. May be
> something is your custom request handler?
>
> I don't think requ
> I am using the standard LuceneQParserPlugin and I have a
> custom request
> handler. I use solr 3.5
I would test the same query with standard request handler. May be something is
your custom request handler?
&debugQuery=on would help too.
On Fri, May 18, 2012 at 6:03 PM, Ahmet Arslan wrote:
> > > Why don't you just use /solr/select/?q=-HOSTID:302
> > >
> >
> > Tried the same right at start, but never worked :(
>
> q=-HOSTID:302 and q=+*:* -HOSTID:302 should return same result set.
> Which solr version and query parser are you usin
> > Why don't you just use /solr/select/?q=-HOSTID:302
> >
>
> Tried the same right at start, but never worked :(
q=-HOSTID:302 and q=+*:* -HOSTID:302 should return same result set.
Which solr version and query parser are you using?
On Fri, May 18, 2012 at 5:03 PM, Ahmet Arslan 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 resul
> 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(HOST