How do I configure PreBuiltTransportClient to use Multithreading?

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));

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.