ES store learning notes

es is developed based on java, Use the new version of es Minimum requirement jdk1 8, Client, interface tools, Official website: https://www.elastic.co/cn/ ES is document oriented and everything is json Documents are pieces of data, The type is the same as that of relational database (int, double,...) An index, similar to a database, is a ve ...

Added by mizz key_me on Fri, 14 Jan 2022 02:46:18 +0200

Aggregation analysis of ElasticSearch7 learning notes

definition In addition to retrieval, ES also provides statistical analysis of data, with high real-time performance Bucket aggregation Filter out documents that meet specific criteria: GET kibana_sample_data_flights/_search { "size": 0, "aggs": { "dest": { "terms": { "field": "DestCountry" } } } } The ...

Added by nitediver on Sun, 09 Jan 2022 09:31:02 +0200

Introduction to ElasticSearch query DSL combination query (bool, boosting, constant_score, dis_max)

Combined query bool (Boolean Query) Many times, we may want to search through multiple conditions. For example, Douban searches a movie. We may limit the query according to multiple conditions such as the type, year and Douban score of the movie. In fact, this scenario is a scenario in which multiple search conditions and multiple words match ...

Added by walter8111 on Sat, 08 Jan 2022 07:26:54 +0200

ES series tutorial 02: Elasticsearch one day tour

This article was first published in the official account of the geek barracks. Original addressThe best way to learn elastic search (hereinafter referred to as ES) is to practice more. In this series of tutorials, I will use the small project "online bookstore" throughout each chapter. The background of this project is very simple. Ea ...

Added by delphi123 on Wed, 05 Jan 2022 03:04:48 +0200

ELK - log collection system

ELK - log collection system 1. What logs do you want to collect? ① System log – prepare for monitoring ② Service log – database – MySQL – slow query log, error log and normal log ③ Business log – log4j (business log must be collected) Note: log4j - data business log of Java class (1) To be targeted to collect ...

Added by recset on Tue, 04 Jan 2022 03:26:51 +0200

Elasticsearch installation and grammar learning

1, Introduction With the help of the official website Introduction to Elasticsearch You know, for search (and analysis) Elasticsearch is the core distributed search and analysis engine of Elastic Stack. Logstash and Beats help collect, aggregate and enrich your data and store it in elasticsearch. With Kibana, you can interactively explore, ...

Added by Hitman2oo2 on Tue, 04 Jan 2022 01:31:00 +0200

Anti shake and throttling

Anti shake and throttling Anti shake The same function is triggered multiple times in a short time, and only the first / last time is executed. For example: a kitten is shivering with cold. Press it hard and it won't tremble. You can press and hold it before it shakes, or after it shakes for a long time Common anti shake /** * Common implemen ...

Added by smti on Mon, 03 Jan 2022 21:22:26 +0200

Detailed explanation of common commands for Tencent cloud Elasticsearch cluster operation and maintenance (index 3)

In the first two articles, we introduced some commands commonly used in daily cluster operation and maintenance from the cluster and node layers. Next, we will continue to introduce several commonly used cluster operation and maintenance API s from the index level.Index related commands1. View basic information of cluster indexGET _cat/indices ...

Added by arhunter on Mon, 03 Jan 2022 20:12:56 +0200

Elasticsearch 7.X Ik source code interpretation, and custom remote dynamic thesaurus

1, ik remote Thesaurus The previous article explained ik as a whole, including the remote dynamic thesaurus. However, the previous article is based on nginx + static txt file. After modifying the file with nginx, the last modified attribute is automatically added. This method is also officially recommended: Officials recommend using another t ...

Added by socalnate on Mon, 03 Jan 2022 12:30:30 +0200

Elasticsearch 7.X SpringBoot uses ElasticsearchRestTemplate to operate ES

1, ElasticsearchRestTemplate Previously, I learned how the es rest interface operates es, and also learned the fragmentation and capacity expansion of ES. I explained several common word splitters. If you like, you can see other articles in this column. This article will mainly use ElasticsearchRestTemplate to operate es in SpringBoot. I wrot ...

Added by sh0wtym3 on Mon, 03 Jan 2022 10:01:46 +0200