title: Elasticsearch delete documents from index
body: <p>I have an Elasticsearch cluster on Kubernetes, I also have a curator that deletes indices older than 7 days.</p>
  <p>I want to change the curator to work according to a certain condition:</p>
  <p>If document <code>key1=value1</code> delete these documents delete after 10 days, otherwise delete after 7 days.</p>
  <p>Is there any way to do it?</p>