6.ELK’s Elasticsearch nested (Nested) type

0. Foreword In practical applications of Elasticsearch, nested documents are often encountered, and there are “requirements for object arrays to be indexed and queried independently of each other.” In ES, this kind of nested document is called a parent-child document. There are at least two ways for parent-child documents to “query independently of each other”: […]

Elasticsearch: Search Architecture

Elasticsearch The complexity of full-text search To understand why full-text search is a difficult problem to solve, let’s think of an example. Suppose you are hosting a blog publishing website with hundreds of millions or even billions of blog posts, each containing hundreds of words, similar to CSDN. Performing a full-text search means that any […]

[ElasticSearch Series-06] Construction of Es cluster architecture and core concepts of clusters

ElasticSearch series overall column Content Link address [1] ElasticSearch download and installation https://zhenghuisheng.blog.csdn.net/article/details/129260827 [2] ElasticSearch concepts and basic operations https://blog.csdn. net/zhenghuishengq/article/details/134121631 [3] ElasticSearch’s advanced query Query DSL https://blog.csdn.net/zhenghuishengq/article/details/134159587 [4] Aggregation query operation of ElasticSearch https://blog.csdn.net/zhenghuishengq/article/details/134159587 [5] SpringBoot integrates elasticSearch https://blog.csdn.net/zhenghuishengq/article/details/134212200 [6] The construction of Es cluster architecture and the core concepts of clusters https: //blog.csdn.net/zhenghuishengq/article/details/134258577 […]

Using NEST for ElasticSearch aggregate query

ElasticSearch aggregation Aggregation in Elasticsearch is a mechanism for extracting and displaying data in a structured way. Think of it as the GROUP BY statement in SQL, but more powerful and flexible. Aggregation type Elasticsearch supports many types of aggregations, including: Metrics aggregations: Mainly used for statistics of indicators such as maximum value, minimum value, […]

elasticsearch data migration elasticdump

Directory of series articles Chapter 1 es cluster construction Chapter 2 Basic Operation Commands of ES Cluster Chapter 3 es implements encryption authentication based on search-guard plug-in Chapter 4 es commonly used plug-ins Article directory Table of Contents of Series Articles Preface 1. What is elasticdump? 2. Install the elasticdump tool 1.Offline installation 2. Online […]

elasticsearch data migration logstash

Directory of series articles Chapter 1 es cluster construction Chapter 2 Basic Operation Commands of ES Cluster Chapter 3 es implements encryption authentication based on search-guard plug-in Chapter 4 es commonly used plug-ins Chapter 5 es data migration elasticdump Article directory Table of Contents of Series Articles Preface 1. What is logstash? 2. Full data […]

ElasticSearch uses

Java API Operation ES Related dependencies: <dependencies> <!– ES’s high-level client API –> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>7.6.1</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.11.1</version> </dependency> <!– A library produced by Alibaba that converts Java objects to JSON and JSON to Java objects –> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.62</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> […]

Dockerdocker install elasticsearch

Docker installation ElasticSearch Get the image (elasticsearch:7.16.3) # Pull the image docker pull elasticsearch:7.16.3 # View local mirror docker images Start container Startup parameters: -d starts running in the background –name container name restart=always keeps docker running after it starts -p 9200:9200 http access port mapping -p 9300:9300 access port mapping between services -e ES_JAVA_OPTS=”-Xms512m […]

Elasticsearch cluster construction

Article directory 1. What is elasticsearch? 2. How does elasticsearch work? 3. Deploy elasticsearch cluster 1. Server tuning 2. Deploy cluster Summarize 1. What is elasticsearch? es is a distributed search and analysis engine. es stores complex data structures serialized into json documents instead of storing information in the form of column and row data. […]

[ElasticSearch Series-05] SpringBoot integrates elasticSearch

ElasticSearch series overall column Content Link address [1] ElasticSearch download and installation https://zhenghuisheng.blog.csdn.net/article/details/129260827 [2] ElasticSearch concepts and basic operations https://blog.csdn. net/zhenghuishengq/article/details/134121631 [3] ElasticSearch’s advanced query Query DSL https://blog.csdn.net/zhenghuishengq/article/details/134159587 [4] Aggregation query operation of ElasticSearch https://blog.csdn.net/zhenghuishengq/article/details/134159587 [5] SpringBoot integrates elasticSearch https://blog.csdn.net/zhenghuishengq/article/details/134212200 SpringBoot integrates elasticSearch 1. SpringBoot integrates ElasticSearch 1. Required dependencies and versions 2. Create a […]