{
  "_source": [
    "DATE",
    "NEWS_ID",
    "COMPSCORELIST"
  ],
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "DATE": {
              "from": "2021-09-25T00:00:00+08:00",
              "include_lower": true,
              "include_upper": true,
              "to": "2021-09-25T23:59:59+08:00"
            }
          }
        },
        {
          "nested": {
            "path": "COMPSCORELIST",
            "query": {
              "bool": {
                "must": {
                  "exists": {
                    "field": "COMPSCORELIST"
                  }
                }
              }
            }
          }
        }
      ]
    }
  },
  "sort": {
    "DATE": "desc"
  },
  "size": 100
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-11-17
  • 2021-11-14
  • 2021-10-14
猜你喜欢
  • 2021-11-14
  • 2019-07-23
  • 2022-02-19
  • 2022-12-23
  • 2021-09-21
  • 2021-08-09
相关资源
相似解决方案