【问题标题】:What is the max count of id in ids query?ids 查询中 id 的最大计数是多少?
【发布时间】:2019-07-02 23:50:28
【问题描述】:

我打算将复杂查询的搜索结果存储为 id 列表以执行聚合。

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html

我可以发送的 ids 查询中的 ids 的最大数量是多少?

【问题讨论】:

    标签: elasticsearch


    【解决方案1】:

    【讨论】:

    • 我的意思是,ids 查询中的 id 计数。我可以使用默认设置发送 2000 个 ID。
    • 现在我发现只有一个限制:http.max_content_length 100Mb for Ids。我的系统毫无问题地返回并构建了 500 000 个 ID 的报告。
    猜你喜欢
    • 2012-09-29
    • 2013-04-26
    • 1970-01-01
    • 2011-04-12
    • 2011-12-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-22
    • 1970-01-01
    相关资源
    最近更新 更多