【问题标题】:How to know the ES index from the ES query?如何从 ES 查询中知道 ES 索引?
【发布时间】:2017-08-03 04:20:18
【问题描述】:

我有 Elastic 搜索查询(从 XHR 调用中获取 - 使用 ARC),但需要知道查询被命中的是哪个索引。

【问题讨论】:

    标签: elasticsearch indexing sense elasticsearch-query elasticsearch-indices


    【解决方案1】:

    在任何项目中,“hits”/“hits”中的“_index”是你需要的。example

    【讨论】:

    • 是的,知道了。谢谢
    猜你喜欢
    • 2021-01-26
    • 1970-01-01
    • 2021-04-25
    • 2016-08-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-09-10
    • 2013-09-14
    相关资源
    最近更新 更多