当前位置:网站首页>High concurrency Architecture - distributed search engine (ES)
High concurrency Architecture - distributed search engine (ES)
2022-07-03 18:47:00 【Camel sorting theory】
Distributed search engine —— ElasticSearch, Referred to as ES.
ElasticSearch The design idea is distributed search engine , The bottom is based on lucene Of . The core idea is to start multiple... On multiple machines ES Process instance , Formed a ES colony .
ES In which data is stored The basic unit is the index , For example, you need to be in ES Store some order data in , You should be in ES Create an index in order_idx
, All order data will be written into this index , An index is pretty much the same mysql A watch in .
index -> type -> mapping -> document -> field
In order to make a more direct introduction , Make an analogy . But bear in mind that Don't equal , Analogy is only for the convenience of understanding .
index amount to mysql A watch in . and type Can't follow mysql Go inside and compare , One index There can be more than one type, Every type The fields of are almost the same , But there are some slight differences . Let's say I have a index, It's an order index, It's dedicated to order data . It's like saying you're mysql CSCEC table , Some orders are orders for physical goods , Like a dress 、 A pair of shoes ; Some orders are virtual goods orders , For example, the game point card , More credit . Most fields of the two orders are the same , But a small number of fields may differ slightly .
So it will be in order index in , Build two type, One is the physical goods order type, One is virtual goods orders type, these two items. type Most of the fields are the same , A few fields are different .
In many cases , One index There may be just one type, But it's true if it's a index There are more than one type
边栏推荐
- 硬盘监控和分析工具:Smartctl
- 235. The nearest common ancestor of the binary search tree [LCA template + same search path]
- What does foo mean in programming?
- [leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难
- What is SQL get connection
- Change the single node of Postgres database into master-slave
- How about the Moco model?
- What problems can cross-border e-commerce sellers solve with multi platform ERP management system
- Raft log replication
- Common PostgreSQL commands
猜你喜欢
235. Ancêtre public le plus proche de l'arbre de recherche binaire [modèle LCA + même chemin de recherche]
leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]
Caddy server agent
Have you learned the correct expression posture of programmers on Valentine's day?
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
2022-2028 global solid phase extraction column industry research and trend analysis report
Grammaire anglaise Nom - Classification
SQL: special update operation
论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding
English語法_名詞 - 分類
随机推荐
Briefly describe the quantitative analysis system of services
Processing of user input parameters in shell script
2022-2028 global plasmid DNA cdmo industry research and trend analysis report
12、 Service management
webcodecs
C enum contains value - C enum contains value
Pan for in-depth understanding of the attention mechanism in CV
Xception for deeplab v3+ (including super detailed code comments and original drawing of the paper)
[Godot] add menu button
leetcode:556. Next larger element III [simulation + change as little as possible]
How about the Moco model?
Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
Summary and Reflection on the third week of winter vacation
The installation path cannot be selected when installing MySQL 8.0.23
知其然,而知其所以然,JS 对象创建与继承【汇总梳理】
What is SQL get connection
[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难
FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
[Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
Reading a line from ifstream into a string variable