📜  elasticsearch api 日期范围 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:40.092000             🧑  作者: Mango

代码示例1
GET /_search
{
  "query": {
    "range": {
      "timestamp": {
        "gte": "now-1d/d",
        "lt": "now/d"
      }
    }
  }
}