Summary notes of operations in ElasticSearch based on crazy God Theory

ElasticSearch installation Statement: JDK1.8! ElasticSearch client, interface tool! Based on Java development, the version of ElasticSearch corresponds to the core jar package of java! Download address Official website: https://www.elastic.co/cn/ Download address: https://www.elastic.co/cn/downloads/elasticsearch Here is t ...

Posted by programmingjeff on Sat, 04 Dec 2021 02:21:30 +0100

Special research on Sudoku

Recently, I studied Sudoku and other issues (in fact, there are only two). To sum up: Sudoku is regarded as a kind of mental work because of its complex relationship. If we want to solve this problem with computers, it is regarded as a violent problem. For these relationships, we can use several two-dimensional arrays to store them. For example ...

Posted by sw45acp on Fri, 03 Dec 2021 14:51:16 +0100

P7516 - [provincial selection joint examination volume 2021A/B] graph function [bfs]

Topic Title Link: https://www.luogu.com.cn/problem/P7516 General idea of the topic Lazy, just copy the meaning of the question For a directed graph \ (G \) with \ (n \) points \ (m \) edges (vertices are numbered from \ (1 \sim n \), define the function \ (f(u, G) \): Initialization return value \ (cnt = 0 \), figure \ (G'= G \). Enumerate th ...

Posted by youropensource on Wed, 24 Nov 2021 20:37:56 +0100

Introduction to Zookeeper: server dynamic online and offline monitoring cases, Zookeeper distributed lock cases, and distributed lock cases implemented by cursor framework

Server dynamic online and offline monitoring cases In a distributed system, there can be multiple master nodes, which can dynamically go online and offline. Any client can sense the online and offline of the master node server in real time. As shown in the figure above, we hope that the client can monitor the node changes of the server in rea ...

Posted by russian_god on Fri, 19 Nov 2021 16:01:28 +0100

Elastic search -- Rest style operation index, mapping and document

Elastic search -- Rest style operation index, mapping and document ElasticSearch provides a REST API that can be accessed through HTTP and JSON. 1. Index operation 1. Basic operations of index: PUT /Index name Create index DELETE /Index name delete index DELETE /* Delete all indexes GET /Index name View specified index i ...

Posted by MikeUK on Mon, 08 Nov 2021 12:32:41 +0100

Reptile learning notes

1, What is a reptile? The essence of a crawler is an application that sends a request to a website or URL, obtains resources, analyzes and extracts useful data. Can be used to obtain text data, can also be used to download pictures or music. Crawlers can verify hyperlinks and HTML code for web crawling. Web search engines and other sites updat ...

Posted by kumschick on Fri, 22 Oct 2021 15:42:17 +0200

Crawler operation section 2 - Data Analysis

Blog direct in the last section! After obtaining the web page, the next step is to analyze the data. We need to be familiar with the basic operation of regular expressions. Here is a tutorial entrance. Students without knowledge reserve can go to this channel first regular expression You can only look at the simplest "grammar" sec ...

Posted by evilmonkey on Wed, 20 Oct 2021 09:26:00 +0200