Re: Problem encoding ':' char in a solr query

2009-03-18 Thread Erik Hatcher
With SolrJ, you can use ClientUtils.escapeQueryChars(str) Erik On Mar 18, 2009, at 7:51 AM, Toby Cole wrote: You'll need to escape the colon with a backslash, e.g. fileAbsolutePath:file\:///Volumes/spare/ts/ford/schema/data/news/ fdw2008/jn71796.xml see the lucene query parser synt

Re: Problem encoding ':' char in a solr query

2009-03-18 Thread Toby Cole
You'll need to escape the colon with a backslash, e.g. fileAbsolutePath:file\:///Volumes/spare/ts/ford/schema/data/news/ fdw2008/jn71796.xml see the lucene query parser syntax page: http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Escaping%20Special%20Characters Toby. On 1

Problem encoding ':' char in a solr query

2009-03-18 Thread Fergus McMenemie
Hello I have a solr field:- which an unrelated query reveals is populated with:- file:///Volumes/spare/ts/ford/schema/data/news/fdw2008/jn71796.xml however when I try and query for that exact document explicitly:- http://localhost:8080/apache-solr-1.4-dev/select?q=fileAbsolutePath:fil