更新时间:2022-04-06 08:32:59
在
Client client = node.client();
我感到Elasticsearch没有恢复分片,然后才能达到搜索请求。
即使管理员呼叫等待黄色也适用于您
I feel Elasticsearch haven't recovered the shards before you have hit the search request. Even the admin call to "wait for yellow" should work for you