Flush the particular deleted document in elastic search server?


(lalitha.r) #1

I have deleted particular document. Elastic search maintain version of it. I want to flush that record from elastic search. Is there any way for it?


(David Pilato) #2

It can be done for all deleted documents not only for a single one:
https://www.elastic.co/guide/en/elasticsearch/reference/2.1/indices-optimize.html#optimize-parameters


(system) #3