Elasticsearch learning notes
1, Foreword
1. What is RestFul?
REST: representational state transfer. If an architecture conforms to the REST principle, it is called RESTful architecture style. Resource: the so-called "resource" is an entity on the network, or a specific information on the network. Presentation layer: the form in which we present "r ...
Added by Infinitive on Sat, 22 Jan 2022 02:28:02 +0200
Fundamentals of OpenGL ES operation (model import, scene roaming, object movement, illumination change)
preface
For small partners unfamiliar with openGL, here is the drawing process:
Calculate projection matrix, object change matrix, viewing angle matrixThe vertex cache of the incoming object,Pass parameters into the shader (including the matrix above)Determining the position of a point on the screen in the vertex shader is generally the multi ...
Added by jwright on Sat, 22 Jan 2022 01:29:39 +0200
[elasticsearch source code recovery process] es 7.7
Replica fragmentation request process, function entry: industriesclusterstateservice createOrUpdateShards
org.elasticsearch.indices.cluster.IndicesClusterStateService
private void createOrUpdateShards(final ClusterState state) {
RoutingNode localRoutingNode = state.getRoutingNodes().node(state.nodes().getLocalNodeId());
if ...
Added by millercj on Fri, 21 Jan 2022 05:54:02 +0200
Synchronize MongoDB data to elasticsearch through Monstache
Installation and configuration of Monstache
monstache is a go daemon that can synchronize MongoDB data to Elasticsearch in real time.
preparation
Ready for mongodb4 4.6 replica set environment The Elasticsearch 7 environment is ready github source code address of monstache: https://github.com/rwynn/monstache
monstachemongodbelashticsearch53 ...
Added by wildmanmatt on Tue, 18 Jan 2022 22:40:03 +0200
ElasticSearch related knowledge points
brief introduction
An open source search engine based on Apache Lucene(TM). Due to the complexity of using Lucene, ElasticSearch aims to make full-text search simple through RESTful API.
Basic concepts
1. Near real time NRT
When full-text search is not true, there is usually a delay. Different search engines have a core search delay time. T ...
Added by [ArcanE] on Mon, 17 Jan 2022 18:54:32 +0200
Elasticsearch 7.1.1 cluster construction
1 prepare the installation environment
1.1 installing JDK
elasticsearch 7.1.1 configuring java8, java11
1.2 change system resource configuration
Modify / etc / sysctl Conf file, add VM. Conf at the end of the file max_ map_ count=262144 Note: after modification, execute sysctl -p, and load system parameters from the specified file. If ...
Added by Wabin on Mon, 17 Jan 2022 06:25:44 +0200
Elasticsearch: retrieve password - Password Recovery
If you have any questions about how to set up security for Elasticsearch cluster, please read my previous article“ Elasticsearch: set Elastic account security ”. Security is very important for an elastic search. Otherwise, our cluster is running naked. Before the following exercises, it is recommended to refer to the article“ ...
Added by Cagecrawler on Mon, 17 Jan 2022 04:27:01 +0200
Elastic actual combat: realize the data preprocessing of mysql synchronous data to es through pipeline
0. Introduction
Recently, when synchronizing part of the company's mysql data to es, the Logstash input JDBC for full synchronization,Incremental synchronization with canal However, another problem is that the data structure in ES needs to be redesigned, which leads to the need for some mysql fields to be transformed and then synchronized to ...
Added by vadercole on Sun, 16 Jan 2022 11:14:57 +0200
Difference between string keyword and text types in ElasticSearch
1, Background
There are many basic data types of ES. This article focuses on string types: ES2.* There are no these two fields in the version, only the string field. ES5.* And later versions, set the string field as an obsolete field and introduce the text and keyword fields.
The basic data types of ES may vary slightly according to differ ...
Added by cableuser on Sun, 16 Jan 2022 03:59:22 +0200
Query and aggregation operations in [Java]-Elastic
In<
Basic operations of index and document in Elastic >It introduces the basic knowledge of Elastic, index and document operation; This section describes the query and aggregation operations commonly used in Elasticsearch.
search Foundation
Elasticsearch will segment the document content and establish an inverted index according to ...
Added by hawleyjr on Fri, 14 Jan 2022 23:10:58 +0200