弹性搜索中的别名(全球和/或每个索引)的数量有限制吗? [英] Is there a limit of the number of aliases (globally and/or per index) in elasticsearch?

查看:125
本文介绍了弹性搜索中的别名(全球和/或每个索引)的数量有限制吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始为我的项目研究弹性搜索。
具体版本1.5。
我正在考虑使用别名从索引设置的复杂性抽象客户端应用程序。
我可能会得到20到50个索引和10到30个别名的索引。
这将达到1500个别名。



我想知道每个索引和/或每个集群的别名数量是否有限制。



提前感谢



P。

解决方案

在Elasticsearch源代码中,我看到别名被引用为 String [] 。而Java中的数组似乎有相当大的尺寸,我会不要担心1500个别名: - )。



然而,我担心的是集群状态。弹性搜索节点在它们之间共享包含所有映射,所有别名,模板等的整个集群状态。大型集群状态意味着更多的数据要在网络上移动,并有更多的时间来处理/获取更新的集群状态。 1500个别名听起来不太好。


I'm starting to study elasticsearch for my project. Specifically version 1.5. I'm considering using aliases to abstract client apps from the intricacies of index setup. I might end up with 20 to 50 indexes and 10 to 30 aliases per indexes. This would amount to 1500 aliases.

I wonder if there is a limit in the number of aliases per indexes and or per cluster.

Thanks in advance,

P.

解决方案

In Elasticsearch source code I see aliases are referenced as String[]. And arrays in Java seem to have quite a large size and I wouldn't worry about 1500 aliases :-).

What I would worry about, though, is the cluster state. Elasticsearch nodes share between them the entire cluster state which contains all the mappings, all the aliases, templates etc. A large cluster state means more data to be moved around on the network and more time to process/ingest the updated cluster state. 1500 aliases doesn't sound too bad.

这篇关于弹性搜索中的别名(全球和/或每个索引)的数量有限制吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆