Elasticsearch - distributed search engine 01 (index library, document, RestAPI, RestClient)
Note: please correct any mistakes. This blog is for learning reference only. Come on!
1, First acquaintance with electricsearch
1.1 INTRODUCTION
elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in the Java lan ...
Added by Anas_M.M.F on Tue, 15 Feb 2022 17:56:54 +0200
Description of key attributes and fields in elasticsearch
Premise: This article is written based on elasticsearch 6.4.2. There may be slight differences between the two versions
Document, index, type
attributeexplaindocumentThe data information to be stored, such as employee data. An employee data can represent a documentindexThe behavior of storing documents in elastic search is called Indexing; An ...
Added by jon2396 on Tue, 15 Feb 2022 12:10:28 +0200
ElasticSearch learning: ik participle
IK word splitter is a word splitter about Chinese. If there is IK word splitter, naturally there are other word splitters. For example, pinyin word splitter is for pinyin word segmentation, and letter word segmentation is for letter word segmentation. A good way for ES is to expand these functions in the form of plug-ins.
Download and installa ...
Added by boby on Tue, 15 Feb 2022 08:19:53 +0200
Basic use of ES Module
ES Module
The blogger will continue to update various front-end technologies. If you like, you can pay attention to, collect and praise the blogger's articles.
Basic characteristics of ES Module
ESM automatically adopts strict mode and ignores' use strict 'Each ES Module runs in a separate private scopeESM requests external JS modules throug ...
Added by nitroxman on Tue, 15 Feb 2022 05:25:41 +0200
Index operation of ElasticSearch Java API
Background: ElasticSearch Java client connection ElasticSearch Based on this blog
ElasticSearch: brief introduction and deployment of ElasticSearch and Kibana using Docker This blog simply deploys ElasticSearch
Brief introduction to index concept
Generally speaking, the index has two parts of speech, name and verb.
Verb indexing, indexing a ...
Added by jscofield on Mon, 14 Feb 2022 10:30:57 +0200
"Sure enough fresh" e-commerce project (44) - use Logstash to automatically synchronize database content to ES
1. How to synchronize database with ES
We all know that ES is a search engine. Its search speed is much faster than that of the database. How to synchronize the contents of the database to es? The middleware Logstash is needed at this time.
Logstash is an open source data collection engine with real-time pipeline function. Logstash can ...
Added by shwanky on Sat, 12 Feb 2022 04:21:11 +0200
Filebeat custom index name
1. Load external profile
1.1 Input config
filebeat.config.inputs:
enabled: true
path: inputs.d/*.yml
inputs. Example of configuration file in D Directory:
- type: log
paths:
- /var/log/mysql.log
scan_frequency: 10s
- type: log
paths:
- /var/log/apache.log
scan_frequency: 5s
1.2 Module config
filebeat.config.modu ...
Added by NathanLedet on Thu, 10 Feb 2022 21:49:08 +0200
Use of logstash's mutate filter
1, Background
When we use logstash to read data from the outside, the values read by default are of string type. Suppose we need to modify the type of field value at this time. If we change from string to integer, or delete the field, modify the name of the field, give a default value to the field, we can use mutate filter at this time.
2 ...
Added by jester626 on Thu, 10 Feb 2022 05:10:35 +0200
dried food! Illustrated Elastic search secret collection, practical enough
Inverted index
At present, the mainstream index technology of full-text search engine is the way of inverted index. The traditional way to save data is: record → word. The way of storing data in inverted index is: word → record. The inverted index is constructed based on word segmentation technology. When each record saves data, it w ...
Added by mastercjb on Thu, 10 Feb 2022 00:39:39 +0200
ELK (Elasticsearch+logstash+kibana) detailed installation tutorial
1. Premise preparation
1.1 online installation jdk
1.1.1 is jdk installed
The operation of Elasticsearch requires a JDK environment, but the version above Elasticsearch 7 will bring its own JDK (the installation package has changed from tens of megabytes to hundreds of megabytes, which is why), and the version above Elasticsearch 7 needs jdk ...
Added by jeff21 on Tue, 08 Feb 2022 23:40:16 +0200