[ElasticSearch Learning Notes] Index operation, document operation

Learning Video: Getting Started with ElasticSearch (based on ELK technology stack elasticsearch version 7.8.x) Learning Outline: Chapter 1 Overview of ElasticsearchChapter 2 Introduction to ElasticsearchChapter 3 Elasticsearch EnvironmentChapter 4 Elasticsearch AdvancementsChapter 5 Elasticsearch IntegrationChapter 6 Elasticsearch Optimiz ...

Posted by Jin597 on Wed, 09 Mar 2022 18:22:58 +0100

ElasticSearch four ElasticSearch underlying principles and grouping aggregation query

I. ElasticSearch document score_ Underlying principle of score calculation 1.1 step 1: boolean model According to the user's query conditions, the doc containing the specified term is filtered out first query "hello world" --> hello / world / hello & world bool --> must/must not/should --> filter --> contain / Not included ...

Posted by Leonardo Dantas on Sat, 26 Feb 2022 08:22:17 +0100

After using ElasticSearch, the query speed of the company's system is 50 times faster

The company's OA system needs to query the data from the Activiti table when querying the function of the process I initiated When the interface becomes slower and slower, we will respond to this problem So I'm going to rewrite the company's query process function and give it a major system upgrade: you can search keywords in full text. So I ...

Posted by Vebut on Thu, 17 Feb 2022 02:57:39 +0100

ElasticSeach detailed installation tutorial -- graphic introduction

catalogue preparation in advance Create user Download the installation package of ElasticSeach. This case uses version 6.2.4 Modify the configuration item JVM options Modify the configuration item elasticsearch yml Resolve error reporting Start Elasticsearch 1.3.1. Error 1: kernel too low 1.3.2. Error 2: insufficient file permissions ...

Posted by KoshNaranek on Fri, 11 Feb 2022 06:22:01 +0100

Basic query operation of elasticsearch

Basic operation of es 1. Create es_db index, and set the default word segmentation method of the index to ik_max_word PUT /es_db { "settings": { "index": { "analysis.analyzer.default.type": "ik_max_word" } } } 2. Basic operations for index GET /es_db DELETE /es_db 3. Add document PUT /es_db/_doc/1 { "name": "Zh ...

Posted by sciencebear on Sun, 06 Feb 2022 22:29:28 +0100

Basic exercises of blue bridge cup test questions 2n queen question and n queen question

Before learning about queen 2n, we should know the queen n problem: N queens are placed on the N*N checkerboard so that they do not attack each other (that is, any two queens are not allowed to be in the same row, the same column, or on the slash at a 45 angle with the checkerboard border).Your task is to find out how many legal placement metho ...

Posted by gvanaco on Fri, 04 Feb 2022 15:53:21 +0100

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

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

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

DLX learning notes

DLX \(\ text{DLX} \), dance chain, which mainly solves the problems of accurate coverage and repeated coverage. This paper only introduces the exact coverage problem for the time being. I don't know when to solve the problem of repeated coverage. 1. Template questions P4929 [template] dance chain (DLX) Meaning: Given a matrix of \ (N \) rows \ ...

Posted by NINTHTJ on Thu, 27 Jan 2022 03:11:36 +0100