Warren Wen created SOLR-14982:
---------------------------------

             Summary: I don't understand method toQueryString of SolrParams.
                 Key: SOLR-14982
                 URL: https://issues.apache.org/jira/browse/SOLR-14982
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.6.1
            Reporter: Warren Wen


I query string is "    test.    ".

I except it query in solr is "    test.  "  also. But in *toQueryString(),* it 
use   URLEncoder.encode to decode query string, It will be change "  "  to 
"++++", and solr server throw a error to me.  Why use ++++, not "%20" to 
replace "   "(space)? If use "%20" to replace "  ", it will be ok in solr.

It is a bug?

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to