I am calling remote solr search hosted on other machine in a c# application. Now since my query length becomes too large so search engine is returning full head error. I can't reducing query length. so i just wanted to know can i make a post request for the same? how would i make this?Please suggest me.Thanks.
Asked
Active
Viewed 3,719 times
2 Answers
6
Looks like you are running into jetty's default GET parameter size limit. This can be adjusted by changing headerBufferSize in jetty.xml.
Refer to this link on configuring jetty - http://docs.codehaus.org/display/JETTY/Configuring+Connectors

user1452132
- 1,758
- 11
- 21
-
5This seems to be deprecated now. You can use `
65535 ` (64k) in the connector section of `etc/jetty.xml` – Sonson123 Apr 18 '13 at 08:06 -
How to do this on tomcat? – Dharmik Bhandari Sep 11 '13 at 12:20
-
How to do this in bitnami as well? – Dharmik Bhandari Sep 11 '13 at 13:06
1
You may also need to increase the requestBufferSize (the size of the buffer for the whole request, including headers). The default is 8k.

Dominic Bevacqua
- 207
- 2
- 6