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

ElasticSearch DSL Querying: A Practical Guide with Examples

ElasticSearch provides a powerful JSON-based query DSL (Domain-Specific Language) for executing searches. Understanding this query language is essential for anyone working with ElasticSearch, much like knowing SQL is necessary for relational databases. Query DSL Structure The query DSL consists of two main types of clauses: Leaf Query Clauses: ...

Posted on Thu, 14 May 2026 16:35:41 +0000 by vchris

Integrating Elasticsearch with Django REST Framework Using Haystack

Elasticsearch ConfigurationElasticsearch is a distributed, RESTful search and analytics engine built on Apache Lucene. Before proceeding, ensure the Java Runtime Environment (JRE) is installed and the JAVA_HOME environment variable is configured correctly. Once the prerequisites are met, download the Elasticsearch distribution and start the ser ...

Posted on Thu, 14 May 2026 11:33:07 +0000 by jlive

Elasticsearch Snapshot Backup Automation on Windows

Configuring Backup Repository Navigate to the elasticsearch-6.2.2\config directory and modify the elasticsearch.yml configuration file. Add the following line at the end to specify the backup storage path: path.repo: ["D:/backup_storage/elastic_backup"] Create the designated folder at the specified location if it doesn't exist. Crea ...

Posted on Thu, 14 May 2026 06:13:05 +0000 by Vidya_tr

Elasticsearch Bulk Write Optimization Through Gateway Implementation

Background: Bulk Operations Optimization In Elasticsearch, bulk operations are widely used for batch data processing. Bulk operations allow users to submit multiple data operations—such as indexing, updating, and deleting—in a single request, thereby enhancing data processing efficiency. The implementation principle of bulk operations involves ...

Posted on Wed, 13 May 2026 20:50:17 +0000 by PhillNeedsHelp