Solr search query returning full head exception

一笑奈何 提交于 2020-01-02 05:45:08

问题


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.


回答1:


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




回答2:


You may also need to increase the requestBufferSize (the size of the buffer for the whole request, including headers). The default is 8k.



来源:https://stackoverflow.com/questions/11045995/solr-search-query-returning-full-head-exception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!