Re: dismax query parser crash on double dash

2008-06-03 Thread Otis Gospodnetic
To: solr-user@lucene.apache.org > Sent: Tuesday, June 3, 2008 11:15:06 AM > Subject: Re: dismax query parser crash on double dash > > On Tue, Jun 3, 2008 at 3:51 PM, Sean Timm wrote: > > I can take a stab at this. I need to see why SOLR-502 isn't working for > &

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Tue, Jun 3, 2008 at 3:51 PM, Sean Timm <[EMAIL PROTECTED]> wrote: > I can take a stab at this. I need to see why SOLR-502 isn't working for > Otis first though. I slightly "enhanced" my script so it would only do the strange searches my users have done in the past... (i.e things with more than

Re: dismax query parser crash on double dash

2008-06-03 Thread Sean Timm
I can take a stab at this. I need to see why SOLR-502 isn't working for Otis first though. -Sean Bram de Jong wrote: On Tue, Jun 3, 2008 at 1:26 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: +1. Fault tolerance good. ParseExceptions bad. Can you open a JIRA issue for it? If you feel

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Tue, Jun 3, 2008 at 1:26 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > +1. Fault tolerance good. ParseExceptions bad. > > Can you open a JIRA issue for it? If you feel you see the problem, a patch > would be great, too. https://issues.apache.org/jira/browse/SOLR-589 I hope the bug report

Re: dismax query parser crash on double dash

2008-06-03 Thread Grant Ingersoll
+1. Fault tolerance good. ParseExceptions bad. Can you open a JIRA issue for it? If you feel you see the problem, a patch would be great, too. -Grant On Jun 2, 2008, at 5:15 PM, Sean Timm wrote: It seems that the DisMaxRequestHandler tries hard to handle any query that the user can thr

Re: dismax query parser crash on double dash

2008-06-03 Thread Bram de Jong
On Mon, Jun 2, 2008 at 11:15 PM, Sean Timm <[EMAIL PROTECTED]> wrote: > It seems that the DisMaxRequestHandler tries hard to handle any query that > the user can throw at it. That's exactly why I was reporting it... :-) - Bram

Re: dismax query parser crash on double dash

2008-06-02 Thread Sean Timm
It seems that the DisMaxRequestHandler tries hard to handle any query that the user can throw at it. From http://wiki.apache.org/solr/DisMaxRequestHandler: "Quotes can be used to group phrases, and +/- can be used to denote mandatory and optional clauses ... but all other Lucene query parser s

Re: dismax query parser crash on double dash

2008-06-02 Thread Grant Ingersoll
See http://wiki.apache.org/solr/DisMaxRequestHandler Namely, "-" is the prohibited operator, thus, -- really is meaningless. You either need to escape them or remove them -Grant On Jun 2, 2008, at 7:14 AM, Bram de Jong wrote: hello all, just a small note to say that the dismax query par