Elasticsearch search search engine storage (basic use)
1.Elasticsearch related concepts
There are several basic concepts in elastic search, such as node, index, document, etc., which are described below. Understanding these concepts is helpful for getting familiar with Elasticsearch
Nodes and clusters Elasticsearch is essentially a distributed database that allows multiple servers to work togeth ...
Posted by keefy on Wed, 02 Feb 2022 09:16:32 +0100
es actual combat - word frequency statistics using IK word segmentation
Introduction: use IK word splitter to segment words and generate word cloud.This paper mainly introduces how to make word frequency statistics through IK word segmentation. Use the word splitter to count the word frequency of the article. The main purpose is to realize the word cloud function as shown in the figure below, and you can find the k ...
Posted by novice4eva on Sun, 30 Jan 2022 23:03:14 +0100
Some word segmentation query problems of MatchPhraseQueryBuilder and MatchQueryBuilder in es query
When query time word segmentation and storage time word segmentation are not set in es Library
1, Index with default settings
Picture:
1. When querying es using MatchQueryBuilder
@Test
public void searchTest() throws IOException{
// SearchResponse response = service.search("name", "shoes-0-num", 0, 30 ...
Posted by ZephyrWest on Sun, 30 Jan 2022 21:46:06 +0100
es actual combat - word frequency statistics using IK word segmentation
Introduction: use IK word splitter to segment words and generate word cloud.
This paper mainly introduces how to make word frequency statistics through IK word segmentation. Use the word splitter to count the word frequency of the article. The main purpose is to realize the word cloud function as shown in the figure below, and you can find the ...
Posted by guayaquil on Sun, 30 Jan 2022 19:57:04 +0100
Logstash: import RSS feed data
In the actual use process, we sometimes want to import and search RSS data. In many real micro services, a lot of data is provided in the form of RSS feed, such as our common comment websites. So is there any way to import these data into Elasticsearch and search? The answer is to use the information provided by Logstash RSS input plugin . In ...
Posted by holowugz on Sun, 30 Jan 2022 18:46:39 +0100
Elastasearch introduction and installation
brief introduction
Full text search is the most common requirement, open source Elasticsearch (hereinafter referred to as Elastic) is the first choice of full-text search engine. It can quickly store, search and analyze massive data.
At the bottom of elastic is the open source library Lucene. However, you can't use Lucene directly. You must w ...
Posted by priya_cks on Sun, 30 Jan 2022 17:28:00 +0100
[es] three query usages: from size, search after and scroll
1, The difference between the three
from size:
deep pagination occurs when the page is deeply paged or the size is very large. And the self-protection mechanism of es is max_result_window is 10000. When the number of queries exceeds 10000, an error will be reportedThe implementation principle of this query is similar to the limit in mysql ...
Posted by biopv on Thu, 27 Jan 2022 10:08:15 +0100
elasticsearch and canal build master-slave replication architecture to integrate spring boot practice
catalogue
preface
Build environment
Multi table structure design of elastic search
spring data elasticsearch practice
preface
The last article completed the construction of elasticsearch and elasticsearch head. This chapter will be brought into spring boot for development and integration. Spring boot provides a lot of convenience for j ...
Posted by nasser on Thu, 27 Jan 2022 00:22:00 +0100
Elasticsearch foundation and python operation
1, ES Foundation
Official documents: Elasticsearch: authoritative guide | Elastic
1. Noun comparison mysql
ElasticSearchMySQLIndexIndexesDatabasedatabaseTypetypeTablesurfaceDocumentfileRowthat 's okFieldfieldColumncolumnMappingProcessing rulesSchemarelationship
Indexes: indexes are the plural of indexes, which represent many indexes and a ...
Posted by adrianpeyton on Wed, 26 Jan 2022 00:33:39 +0100
Kibana and Logstash installation configuration
Elasticsearch, Kibana, Logstash version
Elasticsearch: 7.2.0Kibana: 7.2.0Logstash: 7.2.0
Kibana and Logstash use a server together
Server Configuration: 2 Core 4G, System Disk 40G Solid State Hard Disk
Kibana Standalone Server
Migrate Kibana from the Elasticsearch node and install it using RPM.
1. Install Kibana (RPM mode)
Download and ...
Posted by shivani.shm on Tue, 25 Jan 2022 13:55:19 +0100