ElasticStack series, Chapter 1

I. Introduction to Elastic Stack ElasticStack currently consists of four parts: Elastic search: core storage and retrieval engine Kibana: Data Visualization Logstash: high throughput data processing engine Beats: collect data ElasticSearch: Based on Java, it is an open-source distributed search engine, featuring: distributed, zero ...

Posted by Vibralux on Wed, 20 Nov 2019 00:52:21 -0800

Implement like query with elastic search

problem The elastic search query needs to achieve the like query effect similar to mysql. For example, the record with the value of hello China 233 can be queried either through China or through llo. However, the query of elastic search is based on word segmentation. The default word segmentation of hello China 233 is hello, C ...

Posted by VDarkAzN on Wed, 13 Nov 2019 10:03:24 -0800

Talk about the ElectMasterService of elasticsearch

order This paper mainly studies the ElectMasterService of elastic search ElectMasterService elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/discovery/zen/ElectMasterService.java public class ElectMasterService { private static final Logger logger = LogManager.getLogger(ElectMasterService.class); public static final Setting& ...

Posted by murali on Mon, 11 Nov 2019 13:25:08 -0800

Talk about the routing service of elastic search

order This paper focuses on the routing service of elastic search RoutingService elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/cluster/routing/RoutingService.java public class RoutingService extends AbstractLifecycleComponent { private static final Logger logger = LogManager.getLogger(RoutingService.class); private static ...

Posted by leagal4ever on Sun, 10 Nov 2019 13:17:12 -0800

Talk about NodeSelector of Elasticsearch RestClient

order This paper mainly studies NodeSelector of Elasticsearch RestClient NodeSelector elasticsearch-7.0.1/client/rest/src/main/java/org/elasticsearch/client/NodeSelector.java public interface NodeSelector { /** * Select the {@link Node}s to which to send requests. This is called with * a mutable {@link Iterable} of {@linkplain Nod ...

Posted by mitcho on Sun, 10 Nov 2019 11:12:40 -0800

Installation and simple configuration of Elasticsearch

install Download Address https://www.elastic.co/cn/dow... install After downloading the installation package, unzip the file: tar -zxvf elasticsearch-7.4.2-linux-x86_64.tar.gz File directory structure Catalog configuration file describe bin Script files, including starting elasticsearch, installing plug-ins, and so on config elasticsea ...

Posted by PurpleMonkey on Fri, 08 Nov 2019 23:18:56 -0800

Talk about the nodes sniffer of Elasticsearch

order This paper mainly studies the nodes sniffer of elastic search NodesSniffer elasticsearch-7.0.1/client/sniffer/src/main/java/org/elasticsearch/client/sniff/NodesSniffer.java /** * Responsible for sniffing the http hosts */ public interface NodesSniffer { /** * Returns the sniffed Elasticsearch nodes. */ List<Node> ...

Posted by dserf on Fri, 08 Nov 2019 11:34:23 -0800

Elastic search source code analysis - source code construction

This article introduces how to build Elasticsearch from source code. Building Elasticsearch source code is the basis of learning and studying Elasticsearch source code, which helps to better understand Elasticsearch. Environmental preparation Environment / software Edition Remarks OS Ubuntu 14.04 LTS Gradl ...

Posted by Magicman0022 on Tue, 05 Nov 2019 11:51:35 -0800

Talk about JvmStats of elastic search

order This paper mainly studies JvmStats of elastic search JvmStats elasticsearch-7.0.1/server/src/main/java/org/elasticsearch/monitor/jvm/JvmStats.java public class JvmStats implements Writeable, ToXContentFragment { private static final RuntimeMXBean runtimeMXBean; private static final MemoryMXBean memoryMXBean; private static fi ...

Posted by IOAF on Mon, 04 Nov 2019 11:47:29 -0800

Talk about roundrobin supplier of elastic search

order This paper focuses on the roundrobin supplier of elastic search RoundRobinSupplier elasticsearch-7.0.1/libs/nio/src/main/java/org/elasticsearch/nio/RoundRobinSupplier.java final class RoundRobinSupplier<S> implements Supplier<S> { private final AtomicBoolean selectorsSet = new AtomicBoolean(false); private volatile S[ ...

Posted by sfarid on Fri, 01 Nov 2019 17:23:16 -0700