I'm trying to use ElasticSearch in my web application built on IBM Domino
server(formerly Lotus Notes server). I'm using JAVA Client API ...
fetching items is fine but I have a problems with scheduled process that
is responsible for index updates in Elastic. Update finishes fine but the
scheduled process ends with message that it can't clean up all threads(and
doesnt run anymore until I restart the server). I found that
client.prepareIndex().execute() runs in sepearate threads that probably
causes the problems Is there a way how to disable this behaviour or how to
wait on all threads to complete? I tried .setOperationThreaded(false) but
it doesnt work for me(also docs says it works only for local calls but I'm
Any idea how to solve this?