AFAIK, that could be a limit in Jetty and be raised in jetty.xml.
You might check the Jetty docs and look for something like BufferSize.
At least for Solr 6.6.x

Regards
Bernd


Am 14.01.21 um 13:19 schrieb Abhay Kumar:
Thank you Nicolas. Yes, we are making Post request to Solr using SolrNet 
library.
The current request length is approx. 32K characters, I have tested with 10K 
characters length request and it works fine.

Any suggestion to increase request length size in Solr configuration.

Thanks.
Abhay

-----Original Message-----
From: Nicolas Franck <nicolas.fra...@ugent.be>
Sent: 14 January 2021 15:12
To: solr-user@lucene.apache.org
Subject: Re: Getting error "Bad Message 414 reason: URI Too Long"

Euh, sorry: I did not read your message well enough.
You did actually use a post request, with the parameters in the body
(your example suggests otherwise)

On 14 Jan 2021, at 10:37, Nicolas Franck <nicolas.fra...@ugent.be> wrote:

I believe you can also access this path in a HTTP POST request.
That way you do no hit the URI size limit

cf. 
https://stackoverflow.com/questions/2997014/can-you-use-post-to-run-a-query-in-solr-select

I think some solr libraries already use this approach (e.g.  WebService::Solr 
in perl)

On 14 Jan 2021, at 10:31, Abhay Kumar 
<abhay.ku...@anjusoftware.com<mailto:abhay.ku...@anjusoftware.com>> wrote:

Hello,

I am trying to post below query to Solr but getting error as “<h1>Bad Message 
414</h1><pre>reason: URI Too Long</pre>”.

I am sending query using SolrNet library. Please suggest how to resolve this 
issue.
...


Reply via email to