Re: URL Encoding/Decoding

2007-07-10 Thread Eric Pugh
Thanks... I am backing out my code! On Jul 10, 2007, at 12:45 AM, Chris Hostetter wrote: the URL encoding/decoding in Solr only happens when dealing with HTTP based requests. When writing unit test that deal with the SolrTestHarness (and LocalSOlrQueryRequest which is what the loadLocal

Re: URL Encoding/Decoding

2007-07-09 Thread Chris Hostetter
the URL encoding/decoding in Solr only happens when dealing with HTTP based requests. When writing unit test that deal with the SolrTestHarness (and LocalSOlrQueryRequest which is what the loadLocal() and req() methods do under the covers) you shouldn't be doing any URL escaping because no

Re: URL Encoding/Decoding

2007-07-09 Thread Eric Pugh
It might have been... I wrote some code to decode them, and then I was told that it worked okay. However, i wrote a unit test for my new code that showed they were being encoded But I think it may have been because the unit test don't operate through a regular HTTP layer? This te

Re: URL Encoding/Decoding

2007-07-09 Thread Yonik Seeley
On 7/9/07, Eric Pugh <[EMAIL PROTECTED]> wrote: My patch for adding rich unstructured content (https:// issues.apache.org/jira/browse/SOLR-284) has a problem when some of the extra field data passed in via the get request have spaces etc.. The content comes through URL encoded. Should the SolrPa

URL Encoding/Decoding

2007-07-09 Thread Eric Pugh
Hi all, My patch for adding rich unstructured content (https:// issues.apache.org/jira/browse/SOLR-284) has a problem when some of the extra field data passed in via the get request have spaces etc.. The content comes through URL encoded. Should the SolrParams object handle decoding of pa