First of all, I have already checked this question Removing Data From ElasticSearch
It's not good for me because the answers there are talking about how to delete the whole index., which is different from my question.
my question is that i want to delete the whole document inside one index, but without deleting the index.
i tried to do the flush command, but it doesn't delete anything.
thanks in advance