当前位置:网站首页>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 -> fieldIn 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
边栏推荐
- Summary and Reflection on the third week of winter vacation
- cipher
- [leetcode weekly race] game 300 - 6110 Number of incremental paths in the grid graph - difficult
- 235. 二叉搜索树的最近公共祖先【lca模板 + 找路径相同】
- C enum contains value - C enum contains value
- How to track the real-time trend of Bank of London
- How to analyze the rising and falling rules of London gold trend chart
- Day-27 database
- 组策略中开机脚本与登录脚本所使用的用户身份
- Chisel tutorial - 06 Phased summary: implement an FIR filter (chisel implements 4-bit FIR filter and parameterized FIR filter)
猜你喜欢

论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding

Naoqi robot summary 27

Xception for deeplab v3+ (including super detailed code comments and original drawing of the paper)

Administrative division code acquisition

English grammar_ Adjective / adverb Level 3 - multiple expression

English grammar_ Noun classification
![How to read the source code [debug and observe the source code]](/img/87/3cb25eb0301dc8046e39b997411e59.jpg)
How to read the source code [debug and observe the source code]

Sensor debugging process

Ping problem between virtual machine and development board

2022-2028 global lithium battery copper foil industry research and trend analysis report
随机推荐
组策略中开机脚本与登录脚本所使用的用户身份
[combinatorics] generating function (positive integer splitting | repeated ordered splitting | non repeated ordered splitting | proof of the number of repeated ordered splitting schemes)
What is the function of registering DLLs- What does registering a DLL do?
Typescript official website tutorial
[combinatorics] generating function (positive integer splitting | unordered non repeated splitting example)
Transformer T5 model read slowly
FBI 警告:有人利用 AI 换脸冒充他人身份进行远程面试
shell 脚本中关于用户输入参数的处理
Shell script return value with which output
[combinatorics] exponential generating function (example of exponential generating function solving multiple set arrangement)
204. Count prime
Torch learning notes (3) -- univariate linear regression model (self training)
How can I avoid "div/0!" Errors in Google Docs spreadsheet- How do I avoid the '#DIV/0!' error in Google docs spreadsheet?
198. Looting - Dynamic Planning
2022-2028 global lithium battery copper foil industry research and trend analysis report
What problems can cross-border e-commerce sellers solve with multi platform ERP management system
Recommend a simple browser tab
[combinatorics] exponential generating function (proving that the exponential generating function solves the arrangement of multiple sets)
论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding
PHP determines which constellation it belongs to today