Elasticsearch Distributed Architecture: Sharding, Routing, and Split-Brain Mitigation

Distributed Systems vs. ClusteringArchitecture TypeAnalogyPrimary BenefitClusterMultiple workers performing identical tasksSystem high availability and load distributionDistributedMultiple workers performing distinct specialized tasksCompute/storage scaling, decoupling, performance accelerationElasticsearch inherently abstracts the complexities ...

Posted on Tue, 02 Jun 2026 17:07:12 +0000 by newburcj

Verifying Elasticsearch Data Integrity with INFINI Gateway

After migrating data between clusters, verifying document counts is often insufficient to guarantee data integrity. To perform a robust, content-level comparison betwean two Elasticsearch, Easysearch, or OpenSearch clusters, ENFINI Gateway provides a highly efficient solution for verifying that every document is identical across source and dest ...

Posted on Sat, 30 May 2026 19:27:32 +0000 by smeee_b

Implementing Cross-Cluster Replication in Easysearch: A Practical Guide

Prerequisites Before configuring replication, ensure the following conditions are met on both the source and target clusters: Both clusters must have the cross-cluster-replication and index-management plugins installed. If the easysearch.yml configuration file on the target cluster defines custom node.roles, it must expilcitly include the remo ...

Posted on Fri, 29 May 2026 17:42:32 +0000 by melefire

Elasticsearch Search Result Customization: Sorting, Pagination, Highlighting, and Java Client Usage

Sorting Search Results By default, Elasticsearch orders results by relevance score (_score). Custom sorting is supported for fields of type keyword, numeric types, geo_point, and date. Sorting direction is specified using asc or desc. GET /products/_search { "query": { "match_all": {} }, "sort": [ { "c ...

Posted on Wed, 20 May 2026 04:29:30 +0000 by Evanthes

Docker Commands for Common Infrastructure Services

1. MySQL 4. Elasticsearch docker run -d --name=es -p 9200:9200 -p 9300:9300 -e discovery.type=single-node -e ES_JAVA_OPTS="-Xms256m -Xmx512m" -v /es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /es/data:/usr/share/elasticsearch/data -v /es/plugins:/usr/share/elasticsearch/plugins ela ...

Posted on Wed, 20 May 2026 00:15:10 +0000 by Mr Camouflage

Interacting with Easysearch Using Elasticsearch Python SDK

As data analysis requirements continue to grow, efficient querying and analysis of large datasets has become increasingly important. Easysearch, a powerful domestic search and analytics engine, serves as a native alternative to Elasticsearch. It supports native DSL query syntax and SQL queries, ensuring seamless migration of existing business c ...

Posted on Sun, 17 May 2026 09:18:48 +0000 by varai

Working with the Elasticsearch Java High-Level REST Client

This guide details the usage of the official Elasticsearch 6.x Java High-Level REST Client. This client is recommended for versions 6.x and above, requires JDK 1.8+, and offers compatibility across major versions. It includes functionality from the Java Low-Level REST Client for advanced scenarios. The client provides RESTful-style methods for ...

Posted on Sun, 17 May 2026 02:39:57 +0000 by badal

Elasticsearch Practical Techniques: Indexing, Querying, and Operations

A compilation of Elasticsearch usage tips distilled from a knowledge base, covering index management, mapping, query operations, filtering, aggregation, and search templates. Index Management Elasticsearch structures queries in JSON-like format, using keywords to invoke operations. Creating an Index This example creates a index with 5 primary s ...

Posted on Sat, 16 May 2026 20:45:14 +0000 by zebrax

Implementing Nearby Search and Tinder-like Features

Location Reporting When the client detects a user's geographic location, it reports to the server if the locasion changes by more than 500 meters or every 5 minutes. User locasion data is stored in Elasticsearch. Dubbo Service User location functionality is implemented in a new project called my-tanhua-dubbo-es. POM Configuration <dependenci ...

Posted on Sat, 16 May 2026 10:42:54 +0000 by TheUkSniper

Building a Scalable Log Processing Pipeline with Filebeat, Kafka, Logstash, and Elasticsearch

Distributed log processing systems are essential for modern application monitoring and analysis. A common approach involves using Filebeat for log collection, Kafka as a message buffer, Logstash for transformation, Elasticsearch for storage, and Kibana for visualization. Grafana can also integrate with Elasticsearch for real-time monitoring das ...

Posted on Fri, 15 May 2026 04:29:59 +0000 by wgh