elasticsearch中的综合查询 (指定返回字段, 过滤条件、排序、每页展示条数)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Areigninhell/article/details/84288494
{
  "_source": ["write_date"], 
  "query":{"match_all": {}},
  "sort": [
    {
      "datedb": {
        "order": "desc"
      }
    }
  ],
  "from": 0,
  "size":2000
}

猜你喜欢

转载自blog.csdn.net/Areigninhell/article/details/84288494