I asked this question in stack over but I think asking from here is better.
We developed a Java API to communicate with elastic search. We are sending post requests to API and it is checking data with elastic index and sending it to elastic index. Add/update operations are done over the API. But the problem is, if we try to read or write to same elastic indexes from other sources. It is so slow when the API is running. Is there are some type of configuration in java code to regain the performance of elastic search?