Bram,
You will slowly discover various characters and tokens that "don't work" with 
DisMax.  They "don't work" because they are "special" - they are a part of the 
query grammar and have special meanings.  Have you tried escaping those 
characters in your application before sending the query to Solr?  Escaping is 
done with backward slashes.  I bet that's in the Lucene FAQ on Lucene's Wiki.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: Bram de Jong <[EMAIL PROTECTED]>
> 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
> > 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
> just numbers and letters), and I found two more:
> 
> " and ""
> 
> i.e. one double quote and two double quotes
> 
> I'll add it to the ticket.
> 
> - bram

Reply via email to