GET request length is limited by URL length. RFCs defining HTTP recommend you keep it under 8KB but put no hard limit in place. Because of no hard limit it boils down to the implementation - both on the server side and client side: - On client side Internet Explorer is limited to about 2KB for example - On server side Jetty (used by Solr) defaults to a 4KB limit
POST should be used for larger requests, but it can sometimes be limited too - for example Jetty (default container for Solr) defaults to 200.000 bytes max. To increase that change this: http://www.eclipse.org/jetty/documentation/current/setting-form-size.html -- Maciej Lisiewski +1 647-779-1788 On Sat, Feb 6, 2016 at 3:11 PM, Jack Krupansky <jack.krupan...@gmail.com> wrote: > And you're sure that you can't use the terms query parser, which was > explicitly designed for handling a very long list of terms to be implicitly > ORed? > > -- Jack Krupansky > > On Sat, Feb 6, 2016 at 2:26 PM, Salman Ansari <salman.rah...@gmail.com> > wrote: > > > It looked like there was another issue with my query. I had too many > > boolean operators (I believe maxBooleanClause property in > SolrConfig.xml). > > I just looped in batch of 1000 to get all the docs. Not sure if there is > a > > better way of handling this. > > > > Regards, > > Salman > > > > > > On Wed, Feb 3, 2016 at 12:29 AM, Shawn Heisey <apa...@elyograg.org> > wrote: > > > > > On 2/2/2016 1:46 PM, Salman Ansari wrote: > > > > OK then, if there is no way around this problem, can someone tell me > > the > > > > maximum size a POST body can handle in Solr? > > > > > > It is configurable in solrconfig.xml. Look for the > > > formdataUploadLimitInKB setting in the 5.x configsets. This setting > > > defaults to 2048, which means 2 megabytes. > > > > > > Thanks, > > > Shawn > > > > > > > > >