We are finding a issue for search after bulk update as the data is not getting refresh immediately so search fails to get the latest data so we thought of using bulk update with refresh but since we have to refresh documents of many shards its taking long time. We tried with get api its getting latest document since we cant pass any query we cant use it as well.
Is bulk update with refresh is good or bad. Is there Any other way.
How Refresh work with Bulk and BulkAsync.
Thank you in advance