Elasticsearch / Search
17 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 1.1 Elasticsearch transloghistorical
Elasticsearch records writes and deletions in the translog for recovery after failures. These notes examine its relationship with persistence.
- 1.2 Elasticsearch Index Implementationhistorical
Elasticsearch associates terms with documents through inverted indexes. These notes use two example documents to explain how indexing organizes and retrieves data.
- 1.3 Elasticsearch CRUD Flowhistorical
An Elasticsearch write first reaches a coordinating node, which locates the primary shard from the document ID. These notes trace requests for writes, reads, and deletions.
- 1.4 Elasticsearch Architecturehistorical
Elasticsearch nodes serve management and data-processing responsibilities. These notes introduce cluster structure through master and data roles.
- 1.5 Elasticsearch Optimizationhistorical
Elasticsearch tuning can start with mappings and field design to reduce complex queries and unnecessary processing. These notes organize approaches by writing and querying stages.
- 1.6 Elasticsearch Analyzerhistorical
Analyzers split text into terms and normalize them. These notes examine Elasticsearch analysis through the need to improve search matching.
- 1.7 Elasticsearchhistorical
Elasticsearch is a full-text search engine based on Lucene. These notes organize usage, architecture, and related concepts through search requirements.
- 1.8 Elasticsearch Consistencyhistorical
Elasticsearch writes reach a primary shard before replication to replica shards. These notes examine consistency between primary and replica data.
- 1.9 Elasticsearch and MySQL Synchronizationhistorical
MySQL data can be synchronized to Elasticsearch through periodic polling or binlog parsing. These notes examine how inserts, updates, and deletions are propagated.
- 1.10 Using Elasticsearchhistorical
Elasticsearch field types affect indexing and querying: text is analyzed, while keyword preserves whole values. These notes introduce usage through those differences.