Elasticsearch中索引的上次更新时间

时间:2016-05-19 11:17:23

标签: elasticsearch

我有一个用例,我运行批处理代码首先创建,然后在elasticsearch中更新我的索引。

我的程序已成熟崩溃,现在我想知道最后一次更新我的弹性搜索索引是什么时候。

是否有任何API可以为我提供索引上次更新时间的信息。

我无法找到任何此类资源。我专注于https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html

并试过,

$query = $this->db->select("*")
         ->from("table")
         ->where("a", 1)
         ->group_start()
                    ->where("B", 1)
                    ->or_where('c', 1)
          ->group_end()
          ->get()
          ->result_array();

var_dump($query);

0 个答案:

没有答案