On 5/10/2017 12:33 AM, Adnan Shaikh wrote: > Thanks Alexandre for the update. > > Please help me to understand the other part of the query as well , if there > is any limit to how many values we can pass for a key.
The limit is not the number of values, but the size of the request in bytes. A typical GET request line in HTTP looks like this: GET /foo/bar?param1=foo¶m2=bar HTTP/1.1 The size of this request is typically limited by webservers to 8192 bytes. The Jetty that powers Solr has this as the default limit. This limit can be increased, but you probably don't want to go beyond about 32K. Increasing the HTTP header size limit isn't the way to get REALLY large requests through. For that, you want a POST request, where the parameters will be in the request body instead of on the request line itself. The default limit in Solr for a POST body is 2 megabytes -- 2097152 bytes. This can be increased with configuration in solrconfig.xml. Thanks, Shawn