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 
Sep 2009 17:01:36] DEBUG httpclient.wire.header  - >> "User-Agent: Jakarta 
Commons-HttpClient/3.0.1[\r][\n]"[08 Sep 2009 17:01:36] DEBUG 
httpclient.wire.header  - >> "Host: localhost:8080[\r][\n]"[08 Sep 2009 
17:01:36] DEBUG httpclient.wire.header  - >> "[\r][\n]"
[08 Sep 2009 17:01:36] DEBUG httpclient.wire.header  - << "HTTP/1.1 505 HTTP 
Version Not Supported[\r][\n]"
[08 Sep 2009 17:01:36] DEBUG httpclient.wire.header  - << "Server: 
Apache-Coyote/1.1[\r][\n]"
[08 Sep 2009 17:01:36] DEBUG httpclient.wire.header  - << "Date: Tue, 08 Sep 
2009 16:01:36 GMT[\r][\n]"
[08 Sep 2009 17:01:36] DEBUG httpclient.wire.header  - << "Connection: 
close[\r][\n]"
[08 Sep 2009 17:01:36] ERROR 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor  - Method 
failed: HTTP/1.1 505 HTTP Version Not Supported
com.msp.solr.SolrException: Method failed: HTTP/1.1 505 HTTP Version 
NotSupported

Even when I URLEncode the value, e.g. to docname:Struts+1 it doesn't work.

How do I go about correcting this?

Regards,

Dean.

Reply via email to