lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Lackhoff <mich...@lackhoff.de>
Subject Re: Is semicolon a character that needs escaping?
Date Fri, 03 Sep 2010 05:49:41 GMT
Hi Ken,

>>> But in general escaping characters in a query gets tricky - if you  
>>> can
>>> directly build queries versus pre-processing text sent to the query
>>> parser, you'll save yourself some pain and suffering.
>>
>> What do you mean by these two alternatives? That is, what exactly  
>> could
>> I do better?
> 
> By "can build...", I meant if you can come up with a GUI whereby the  
> user doesn't have to use special characters (other than say quoting)  
> then you can take a collection of clauses and programmatically build  
> your query, without using the query parser.

I think I have that (escaping of characters that have a special meaning
in Solr). I just didn't know that the semicolon is one of them. So it
would be nice if the docs could be updated to account for this.

Thanks again
-Michael

Mime
View raw message