Home
Sign Up
Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
elasticsearch 多语言,到底是把每种语言存于一个 index 不同字段好,还是分散存于不同 index 好?
kisshere
·
Apr 23, 2019
via Android · 2303 views
This topic created in 2756 days ago, the information mentioned may be changed or developed.
方案一:
所有语种存于同一个 index 和 type,每种语言各占用一个字段
方案二:
所有语种分散存于不同的 index
上面哪种方案查询效率最快?
index
字段
语种
语言
2 replies
flighter
Apr 23, 2019
1
一个 index 多个 type
springmarker
Apr 23, 2019
2
ES 要把 type 去掉了
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1585 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 13:40
·
PVG 21:40
·
LAX 05:40
·
JFK 08:40
♥ Do have faith in what you're doing.
❯