At the moment, we are investigating efforts to move away from the Java Transport Client to the new Java High Level Rest Client.
Two questions already popped up:
- For the BulkProcessor we now need to make use of the ThreadPool class. See example in https://www.elastic.co/guide/en/elasticsearch/client/java-rest/5.6/java-rest-high-document-bulk.html#java-rest-high-document-bulk-processor. However, I do not see any documentation explaining the Settings objects that is required for the ThreadPool constructor. Can someone please explain me what is required to instantiate a valid Settings object for ThreadPool? (we are using ES Found, should that matter)
- According same documentation, the Mapping API still requires the Low-level Rest Client. This is a cumbersome Client to code against. The code we probably need to modify again once it is supported by the High Level Client. Can someone shed a light on the roadmap when the Mapping API becomes available in the High Level Rest Client?
Many thanks in advance for responding, kind regards,