Hmmm, that's interesting...
It looks like a container (jetty/tomcat or whatever) configuration
limit somewhere.  I'd only expect this error from Solr when trying to
send something really large though - notice "upload" in the error.  Is
this error message really from Solr or another piece of your system?

If this error message is from Solr, please open a JIRA issue so this
doesn't get lost.

-Yonik


On Mon, Feb 9, 2015 at 10:29 AM, yriveiro <yago.rive...@gmail.com> wrote:
> I'm trying to retrieve from Solr a query in CSV format with around 500K
> registers and I always get this error:
>
> "Expected mime type application/octet-stream but got application/xml. <?xml
> version=\"1.0\" encoding=\"UTF-8\"?>\n<response>\n<lst name=\"error\"><str
> name=\"msg\">application/x-www-form-urlencoded content length (6040427
> bytes) exceeds upload limit of 2048 KB</str><int
> name=\"code\">400</int></lst>\n</response>\n"
>
> If the rows value is lower, like 50000 the query doesn't fail.
>
> What I'm doing wrong?
>
>
>
> -----
> Best regards
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Query-always-fail-if-row-value-is-too-high-tp4185047.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to