简体   繁体   English

查询集群中的单个ElasticSearch节点

[英]Query to single ElasticSearch node in cluster

We test an ElasticSearch cluster with 36 shards on 3 nodes, without replication. 我们在3个节点上测试了具有36个分片的ElasticSearch集群,没有复制。 Is it possible to get results from just a single node, for testing purposes? 是否可以仅出于测试目的而从单个节点获取结果?

I didn't find any thing about it in docs . 我没有在docs中找到任何有关它的信息。

Maybe preference parameter is what you need. 也许preference参数就是您所需要的。 Look at the docs . 看一下文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM