Elasticsearch search api —— example

时间:2021-07-14 19:44:07   收藏:0   阅读:42
GET *-website-*/_search
{
  "query": 
  {
    "bool": {
      "filter":[{
        "match_phrase":{
          "XB3TraceId":"a0228cccb8684d698cd11258ef8a24ae"
        }
      }]
    }
  },
  "size": 500,
  "sort": [
    {
      "@timestamp":"asc"
    }
  ]
}

  

技术分享图片

 

 

官方文档:

原文:https://www.cnblogs.com/panpanwelcome/p/15012416.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!