On 9/10/2014 2:05 PM, Erick Erickson wrote: > bq: org.apache.solr.common.SolrException: Unexpected end of input > block; expected an identifier > > This is very often an indication that your packets are being > truncated by "something in the chain". In your case, make sure > that Tomcat is configured to handle inputs of the size that you're sending. > > This may be happening before things get to Solr, in which case your settings > in solrconfig.xml aren't germane, the problem is earlier than than. > > A "semi-smoking-gun" here is that there's a size of your multivalued > field that seems to break things... That doesn't rule out time problems > of course. > > But I'd look at the Tomcat settings for maximum packet size first.
The maximum HTTP request size is actually is controlled by Solr itself since 4.1, with changes committed for SOLR-4265. Changing the setting on Tomcat probably will not help. An example from my own config which sets this to 32MB - the default is 2048, or 2MB: <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="32768" formdataUploadLimitInKB="32768"/> Thanks, Shawn