Eric writes:

> A flavour of the commands on
> https://solr.apache.org/guide/solr/latest/configuration-guide/config-api.html
> should do it!

Thanks for the pointer! - Just what I needed, I didn't find that page
while looking myself.

I ran:

  curl -X POST -H 'Content-Type: application/json' -d 
'{"set-property":{"requestDispatcher.requestParsers.formdataUploadLimitInKB": 
4096}}' http://solrserver01:9483/api/collections/mycollection/config

which gave a huge error back, which I for brevity have boiled down to:

  "msg":"406 out of 769 the property overlay to be of version 0 within 30 
seconds! Failed cores: [...

So I used the command to check that the value was set:

    $ curl 
http://solrserver01:9483/api/collections/mycollection/config/overlay?omitHeader=true
    {
      "overlay":{
        "znodeVersion":0,
        
"props":{"requestDispatcher":{"requestParsers":{"formdataUploadLimitInKB":"4096"}}}}}

and that looks good. Also, if I look in the collection under Files in
the UI, I can also locate the configoverlay.json file saying 4096, so
that's good too.

When trying the search with grouping immediately after, I still got:

  "application/x-www-form-urlencoded content length (2317765 bytes)
   exceeds upload limit of 2048 KB"

However when I try now, a couple of days later, I no longer get the
content length exceeds upload limit - mission accomplished.


  Thanks for the help!

     Adam

-- 
 "No more than that, but very powerful all the                Adam Sjøgren
  same; simple things are good."                        [email protected]

Reply via email to