Hi!
Read about Delete by Query. Try this:
POST teste/_delete_by_query
{
"query": {
"range": {
"field_date": {
"lt": "2022-05-06",
"gt": "2022-05-01"
}
}
}
}
Hi!
Read about Delete by Query. Try this:
POST teste/_delete_by_query
{
"query": {
"range": {
"field_date": {
"lt": "2022-05-06",
"gt": "2022-05-01"
}
}
}
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.