I'm getting an error (status 500) when sending a request to PUT /tika with X-Tika-OCRMinFileSizeToOcr. Console logs "WARN javax.ws.rs.WebApplicationException: X-Tika-OCRMinFileSizeToOcr is an invalid X-Tika-OCR header". This was is working in version 1.17.
I'm guessing this is because org.apache.tika.server.resource.TikaResource.java does not parse long valued setters. The type of field minFileSizeToOcr in org.apache.tika.parser.ocr.TesseractOCRConfig.java was changed from int to long in version 1.19.