honeyshine75

请教 ES 的超时策略

  •  
  •   honeyshine75 · Jun 15, 2021 · 4152 views
    This topic created in 1793 days ago, the information mentioned may be changed or developed.

    我在ES 的 php 客户端文档中看到这样一句话:By default, the client will retry n times, where n = number of nodes in your cluster.

    但是在 java 的版本中没有找到类似的描述。故对 java 的 es 超时用法有些疑问,麻烦大佬指点。

    希望得到的帮助:1. java 中是否和 php 中的策略一致? 2. 如果不一致,如何优雅的重试? 3. 如果一致,望告知文档地址。4. 其他建议

    环境:

    ES 集群版本:7.8.0

    使用客户端:RestHighLevelClient

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1181 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:48 · PVG 01:48 · LAX 10:48 · JFK 13:48
    ♥ Do have faith in what you're doing.