On 2/8/2014 12:12 PM, Mike L. wrote: > Im going to try loading all 3000 fields in the schema and see how that goes. > Only concern is doing boolean searches and whether or not Ill run into URL > length issues but I guess Ill find out soon.
It will likely work without a problem. As already mentioned, you may need to increase maxBooleanClauses in solrconfig.xml beyond the default of 1024. The max URL size is configurable with any decent servlet container, including the jetty that comes with the Solr example. In the part of the jetty config that adds the connector, this increases the max HTTP header size to 32K, and the size for the entire HTTP buffer to 64K. These may not be big enough with 3000 fields, but it gives you the general idea: <Set name="requestHeaderSize">32768</Set> <Set name="requestBufferSize">65536</Set> Another option is to use a POST request instead of a GET request with the parameters in the posted body. The default POST buffer size in Jetty is 200K. In newer versions of Solr, the limit is actually set by Solr, not the servlet container, and defaults to 2MB. I believe that if you are using SolrJ, it uses POST requests by default. Thanks, Shawn