About the Wiriting Operation In ES

You can refresh the index to make your document searchable but don't do that on every request.

Note that all CRUD operations are real time.

Search is not.