Question about the refresh parameter

If I make 2 requests to es in sequence, which is firing the second request after the first request is returned.

My question is that If I set the refresh parameter of the second request to TRUE. would the change of the first request be seen by the following search immediately ?


Answer is yes.

You need to set the refresh on the first request, not the second.

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