es查询结果:

"took" : 48,  -------------------->  took表示Elasticsearch执行搜索所用的时间,单位是毫秒。

"timed_out" : false,  --------------->  指示搜索是否超时

"_shards" : { --------------------->  _shards 指示搜索了多少分片,以及搜索成功和失败的分片的计数

    "total" : 1,

    "successful" : 1,

    "skipped" : 0,

    "failed" : 0 

}

"hits" : { ------------------------>  hits 用来实际搜索结果集

      "total" :  -------------------->  本次搜索返回多少条结果

      "max_score": ---------------->  本次搜索中 最大的相关分数

      "hits": [---------------------->  默认查询前10数据  查询完整的数据  以_source降序排序

          {

               "_index": "attacker_log_2019-10",  -------->  索引

               "_type": ---------------------------->  属性

               "_id": ------------------------------>  索引数据id

               "_score":

               "_source": {  ------------------------>  结果原数据

                      "xxxxxx": 

                      "yyyyyy":

                      "zzzzzz": 

               }

          }

      "aggerations": ---------------------------->  查询分类聚合数据

 

相关文章:

  • 2021-11-26
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-06-19
  • 2021-05-16
猜你喜欢
  • 2022-12-23
  • 2021-07-18
  • 2021-08-25
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案