Support for flushing the ES index.