I am using the latest HighLevelClient to connect to ES 5.6. How do I configure it to use multithreading and configure number of threads to use?
client = new PreBuiltTransportClient(Settings.EMPTY)
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(transportAddress), 9300));