What would you like to be improved?
Quoting the documentation of OpenSearch
The OpenSearch Java high-level REST client is deprecated. Support will be removed in a future version. We recommend switching to the Java client instead.
How should we improve?
We should switch to the pure Java client. I was stumbling across this issue as I was hitting opensearch-project/opensearch-java#1370 in my crawl and wanted to fix it. The recommended workaround is only suitable for the Java client and as the REST thing is deprecated, we should migrate anyway.
We need to figure out what are the replacements for the BulkProcessor and Sniffer.