当前位置:网站首页>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
边栏推荐
- Change is the eternal theme
- 041. (2.10) talk about manpower outsourcing
- Reading a line from ifstream into a string variable
- 2022-2028 global aircraft head up display (HUD) industry research and trend analysis report
- Implementation of cqrs architecture mode under Kratos microservice framework
- Boost. Asio Library
- [combinatorics] generating function (positive integer splitting | basic model of positive integer splitting | disordered splitting with restrictions)
- [combinatorics] generating function (positive integer splitting | unordered | ordered | allowed repetition | not allowed repetition | unordered not repeated splitting | unordered repeated splitting)
- leetcode:11. 盛最多水的容器【雙指針 + 貪心 + 去除最短板】
- Okaleido, a multimedia NFT aggregation platform, is about to go online, and a new NFT era may come
猜你喜欢
leetcode:11. 盛最多水的容器【双指针 + 贪心 + 去除最短板】
Does SQL always report foreign key errors when creating tables?
Zhengda futures news: soaring oil prices may continue to push up global inflation
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
Grammaire anglaise Nom - Classification
[leetcode weekly race] game 300 - 6110 Number of incremental paths in the grid graph - difficult
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
Chisel tutorial - 06 Phased summary: implement an FIR filter (chisel implements 4-bit FIR filter and parameterized FIR filter)
[combinatorics] dislocation problem (recursive formula | general term formula | derivation process)*
虚拟机和开发板互Ping问题
随机推荐
Sepconv (separable revolution) code recurrence
Install apache+php+mysql+phpmyadmin xampp and its error resolution
How can I avoid "div/0!" Errors in Google Docs spreadsheet- How do I avoid the '#DIV/0!' error in Google docs spreadsheet?
Pan for in-depth understanding of the attention mechanism in CV
Torch learning notes (6) -- logistic regression model (self training)
Gao Qing, Beijing University of Aeronautics and Astronautics: CIM is a natural quantum computing platform for graph data processing
Recommend a simple browser tab
变化是永恒的主题
论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding
Raft log replication
HOW TO WRITE A DAILY LAB NOTE?
Chisel tutorial - 06 Phased summary: implement an FIR filter (chisel implements 4-bit FIR filter and parameterized FIR filter)
2022-2028 global solid phase extraction column industry research and trend analysis report
平淡的生活里除了有扎破皮肤的刺,还有那些原本让你魂牵梦绕的诗与远方
Coordinate layer conversion tool (video)
shell 脚本中关于用户输入参数的处理
Caddy server agent
235. 二叉搜索樹的最近公共祖先【lca模板 + 找路徑相同】
Introduction to SSH Remote execution command
Briefly describe the quantitative analysis system of services