I want to transfer my jar files to my ".system" collection in "Solrcloud".
One of my solr port is 1111

My jar file name is "norm", and the following is my command for this
transfer:
/
curl -X POST -H 'Content-Type:application/octet-stream' --data-binary
@norm.jar http://localhost:1111/solr/.system/blob/norm/

*However, I get the following error:*

/<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="error"><lst name="metadata"><str
name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">org.apache.solr.common.SolrException</str></lst><str
name="msg">URLDecoder: Invalid character encoding detected after position 0
of query string / form data (while parsing as UTF-8)</str><int
name="code">400</int></lst>
</response>/

It is surprising that when I try to transfer the lucene jar files I also get
different errors as follows:

*for example, when I write the command:*

/curl -X POST -H 'Content-Type:application/octet-stream' --data-binary
@lucene-core-6.6.1.jar http://localhost:1111/solr/.system/blob/lucence/

*I get the following error:*

/<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="error"><lst name="metadata"><str
name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">org.apache.solr.common.SolrException</str></lst><str
name="msg">application/x-www-form-urlencoded content length (2783509 bytes)
exceeds upload limit of 2048 KB</str><int name="code">400</int></lst>
</response>/
*
or when I use the following command:*

/curl -X POST -H 'Content-Type:application/octet-stream' --data-binary
@slf4j-api-1.7.7.jar http://localhost:1111/solr/.system/blob/slf
<?xml version="1.0" encoding="UTF-8"?>
<response>
/
*I get the following error:*

/<lst name="error"><lst name="metadata"><str
name="error-class">org.apache.solr.common.SolrException</str><str
name="root-error-class">org.apache.solr.common.SolrException</str></lst><str
name="msg">URLDecoder: Invalid digit (#19;) in escape (%) pattern</str><int
name="code">400</int></lst>
</response>/

What are these errors for even when I use the lucene default jar files?!!!

Is there any other way to insert jar files to .system collection?








--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to