Re: Whitespace in query

2009-09-08 Thread Chris Hostetter
: Subject: Whitespace in query : : Hi all, : : I'm trying to filter by a 'document name' which has spaces in it. : (E.g. "docname:Struts 1" ) 1) if you want to make a string with field with a space in it, that typically means using quotes -- either to query a literaly

Re: Whitespace in query

2009-09-08 Thread AHMET ARSLAN
--- On Tue, 9/8/09, Dean Pullen wrote: > From: Dean Pullen > Subject: Whitespace in query > To: "solr-user@lucene.apache.org" > Date: Tuesday, September 8, 2009, 7:10 PM > Hi all, > > I'm trying to filter by a 'document name' which has spaces

Whitespace in query

2009-09-08 Thread Dean Pullen
Hi all, I'm trying to filter by a 'document name' which has spaces in it. (E.g. "docname:Struts 1" ) However, the query parameter throws an exception: [08 Sep 2009 17:01:36] DEBUG httpclient.wire.header - >> "GET /solr/select/?q=((docname:Struts 1))&fl=id&start=0&rows=1 HTTP/1.1[\r][\n]"[08 S