ElasticSearch learning notes
Basic concepts
Index (index)
Saving a piece of data to elastic search is called indexing a piece of data
Type
In Index, you can define one or more types, which are similar to tables in MySQL. Each type of data is put together.
Document
A piece of data (Document) saved in a certain type under an index. In ES, each data is called a Document ...
Posted by onlinegs on Fri, 24 Dec 2021 19:13:22 +0100
ElasticSearch Getting Started tutorial notes
Video tutorial: [crazy God says Java] ElasticSearch7.6.x the latest complete tutorial is easy to understand Video address: https://www.bilibili.com/video/BV17a4y1x7zq Refuse white whoring and thank the crazy God for sharing the video tutorial
ElasticSearch overview
ElasticSearch, or es for short, is an open-source and highly extended distribu ...
Posted by kool_samule on Wed, 22 Dec 2021 13:37:55 +0100
Elasticsearch introduction and basic operation -- HTTP protocol mode
Elasticsearch basic operations
1, Overview
Elastic search, abbreviated as ES, is an open source, highly extended and RESTful distributed full-text search engine, which can store and retrieve data in near real time; It has good scalability and can be extended to hundreds of servers to process PB level data.
The full-text search engine men ...
Posted by slurpee on Sun, 19 Dec 2021 00:42:09 +0100
Elasticsearch 7.15 query term query, terms query and terms set query of DSL
term query
introduce
Returns the document that contains the exact value in the field provided.
You can use term queries to find documents based on precise values such as price, product ID, or user name.
Note: avoid using term queries on text fields. No results will be found
For example:
GET /_search
{
"query": {
"term": {
...
Posted by gnathan87 on Sat, 18 Dec 2021 21:02:48 +0100
Second understand Elasticsearch, search is so simple
๐
Supporting articles for Java learning route: Summary of java learning route, brick movers counter attack Java Architects (the strongest in the whole network) ๐
Basic recommendations: Java foundation tutorial series ๐
Practical recommendations: Spring Boot basic tutorial ๐
Introduction: high quality creator in Java field ๐, CSDN the a ...
Posted by onlyteo on Mon, 13 Dec 2021 00:58:15 +0100
Index file of Lucene for Solr source code analysis
2021SC@SDUSC I Segments_N file An index corresponds to a directory, and the index files are stored in the directory. The index file of Solr is stored in the core/data/index directory under Solr/Home, and one core corresponds to one index.
Segments_N All valid indexes are enumerated segments Information and the specific information to be dele ...
Posted by DaiWelsh on Thu, 09 Dec 2021 18:49:16 +0100
Summary notes of operations in ElasticSearch based on crazy God Theory
ElasticSearch installation
Statement: JDK1.8! ElasticSearch client, interface tool!
Based on Java development, the version of ElasticSearch corresponds to the core jar package of java!
Download address
Official website: https://www.elastic.co/cn/
Download address: https://www.elastic.co/cn/downloads/elasticsearch
Here is t ...
Posted by programmingjeff on Sat, 04 Dec 2021 02:21:30 +0100
Special research on Sudoku
Recently, I studied Sudoku and other issues (in fact, there are only two). To sum up:
Sudoku is regarded as a kind of mental work because of its complex relationship. If we want to solve this problem with computers, it is regarded as a violent problem.
For these relationships, we can use several two-dimensional arrays to store them.
For example ...
Posted by sw45acp on Fri, 03 Dec 2021 14:51:16 +0100
P7516 - [provincial selection joint examination volume 2021A/B] graph function [bfs]
Topic
Title Link: https://www.luogu.com.cn/problem/P7516
General idea of the topic
Lazy, just copy the meaning of the question
For a directed graph \ (G \) with \ (n \) points \ (m \) edges (vertices are numbered from \ (1 \sim n \), define the function \ (f(u, G) \):
Initialization return value \ (cnt = 0 \), figure \ (G'= G \).
Enumerate th ...
Posted by youropensource on Wed, 24 Nov 2021 20:37:56 +0100
Introduction to Zookeeper: server dynamic online and offline monitoring cases, Zookeeper distributed lock cases, and distributed lock cases implemented by cursor framework
Server dynamic online and offline monitoring cases
In a distributed system, there can be multiple master nodes, which can dynamically go online and offline. Any client can sense the online and offline of the master node server in real time. As shown in the figure above, we hope that the client can monitor the node changes of the server in rea ...
Posted by russian_god on Fri, 19 Nov 2021 16:01:28 +0100