typesense/typesense-java

Document `.update()` function fails on JDK 16

harisarang opened this issue · 1 comments

Document update uses the HTTP PATCH method.
But Jersey does not support the HTTP PATCH method.
So workaround used for now is,

Client client = ClientBuilder.newClient(clientConfig).property(HttpUrlConnectorProvider.SET_METHOD_WORKAROUND, true);

This will not work in JDK 16

Seems fine after switching to ApacheConnectorProvider.