I know how to delete an entire ElasticSearch index, but how do you purge all documents from an index?
My Motivation: I\'d like to have a \"ReIndex\" method that purg
**To delete all Records -** client.DeleteByQuery(del => del .Query(q => q.QueryString(qs=>qs.Query("*")) )); **To delete index-** client.DeleteIndex(d => d.Index("index_name"));