当前位置:网站首页>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
边栏推荐
- How to disable the clear button of ie10 insert text box- How can I disable the clear button that IE10 inserts into textboxes?
- After nohup NPM start &, close the shell window directly, and the process closes accordingly
- [leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难
- Boost. Asio Library
- What does foo mean in programming?
- Data analysis is popular on the Internet, and the full version of "Introduction to data science" is free to download
- 2022.02.11
- Opencv learning notes (continuously updated)
- Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]
- English語法_名詞 - 分類
猜你喜欢

application

Does SQL always report foreign key errors when creating tables?

Summary and Reflection on the third week of winter vacation

What is SQL get connection

Add control at the top of compose lazycolumn
![leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]](/img/d4/cbbaec40119be6cb5594899e348261.png)
leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]

Implementation of cqrs architecture mode under Kratos microservice framework

Raft log replication

CTO and programmer were both sentenced for losing control of the crawler

Web3 credential network project galaxy is better than nym?
随机推荐
KINGS
简述服务量化分析体系
Naoqi robot summary 27
198. Looting - Dynamic Planning
“google is not defined” when using Google Maps V3 in Firefox remotely
[combinatorics] generating function (positive integer splitting | unordered | ordered | allowed repetition | not allowed repetition | unordered not repeated splitting | unordered repeated splitting)
Hard disk monitoring and analysis tool: smartctl
English grammar_ Adjective / adverb Level 3 - multiple expression
Boost. Asio Library
leetcode:11. 盛最多水的容器【雙指針 + 貪心 + 去除最短板】
Max of PHP FPM_ Some misunderstandings of children
php-fpm的max_chindren的一些误区
Sensor debugging process
2022-2028 global petroleum pipe joint industry research and trend analysis report
Torch learning notes (1) -- 19 common ways to create tensor
Raft log replication
Getting started with JDBC
JS_ Array_ sort
English語法_名詞 - 分類
Mysql45 lecture learning notes (II)