A write can succeed before a search sees it. Refresh is the step that makes recent indexing changes visible to searches.
Follow a newly saved product
Write succeeds -> Search may still miss it -> Refresh -> Search can see it
This gap explains why immediately searching after saving can be surprising. A real-time GET by document ID can already retrieve it while a search still uses the earlier view.
If the next search must see the write
In Kibana Dev Tools, for an existing index with a suitable mapping:
