title: How to make multiple calls synchronous in elasticsearch?
body: <p>Im creating ajax calls to an elasticsearch server inside a "for" loop. The problem Im facing is that,the responses are not coming in proper sequence, (that is in the order which the clients are generated using for loop). How to make the calls and response synchronous? .</p>