OpenSearch flushing is the process of permanently storing data onto disk for all operations that have been temporarily stored in memory.
When new documents are indexed in OpenSearch, they are recorded on disk in the translog and stored in memory in a buffer.
Flushing in OpenSearch refers to the process of writing the in-memory segments onto disk and closing the current translog generation.
Elasticsearch offers several distinct advantages over OpenSearch, including a richer feature set, enhanced optimizations, and a superior user experience.