lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: SolrQuery and escaping special characters
Date Sat, 19 Jun 2010 01:48:05 GMT
Thank you for the example, Ahmet!

Paolo- what you did in choice 'b' does what you want - it escapes the
colon in the URI. But Ahmet's example is a better way because it does
not have the 'double-escaping' problem that us old Unix types are so
familiar with.

On 6/18/10, Chris Hostetter <hossman_lucene@fucit.org> wrote:
>
> : I am not sure how SolrJ behaves regarding "escaping" special characters
> : [1] in a query string.
>
> SolrJ encodes your strings for "transport" -- ie: it handles URL escaping
> if it's sending hte query in a GET URL -- but id doesn't do "query parser
> escaping" ... mainly because it has no way of knowing which query parser
> you are using.
>
>
> -Hoss
>
>


-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message