Tagged articles
Search After
21 articles · Page 1 of 1
This article distills production-hardened Elasticsearch patterns from a billion-item e-commerce search system, covering index mapping pitfalls, IK analyzer tuning, search_after pagination, split-brain prevention, hot-warm-cold ILM tiering, dual-path MySQL-ES sync via Canal and MQ, and a 7-point architecture review checklist.
CanalCluster ArchitectureConsistency Guarantee
0 likes · 25 min read


ITPUBJul 17, 2026 · Backend Development
This article details how a photo‑contest backend migrated from MySQL to Elasticsearch and, through three rounds of optimization—including multi‑level Redis anchor caching, recent‑anchor positioning, and a large‑interval‑plus‑small‑page‑anchor strategy—reduced arbitrary deep‑page response time from ten minutes to about one second, achieving a 600‑fold speedup while exposing remaining data‑drift challenges.
Deep PaginationElasticsearchPerformance Optimization
0 likes · 14 min read

This article details how a photo‑contest backend migrated from MySQL to Elasticsearch and, through three iterative optimizations—segment pre‑warming, recent‑anchor positioning with Redis ZSet, and a large‑region‑plus‑small‑page cache—reduced arbitrary deep‑page response time on 500 k records from ten minutes to under one second.
Deep PaginationElasticsearchPerformance Optimization
0 likes · 15 min read

This article explains why offset‑based pagination can cause duplicate or missing records in backend list queries, illustrates real‑world cases, analyzes the root causes, and presents three practical solutions—including cursor pagination, timestamp windows, and Elasticsearch search_after—along with their trade‑offs and implementation details.
CursorElasticsearchPagination
0 likes · 12 min read

This guide compares Elasticsearch’s four common pagination techniques—`from/size`, `search_after`, Scroll API, and Point in Time—detailing their syntax, advantages, drawbacks, and ideal use‑cases, helping developers select the most efficient method based on pagination depth, consistency requirements, and resource constraints.
BackendElasticsearchPagination
0 likes · 10 min read

This article explains why deep pagination hurts performance in large datasets, demonstrates the inefficiency of offset‑based SQL queries, and presents practical alternatives such as cursor pagination, sub‑query optimizations, delayed joins, caching, business limits, and the Elasticsearch Search After technique for stable, scalable paging.
Cursor PaginationDeep PaginationElasticsearch
0 likes · 10 min read

This article examines the four primary Elasticsearch pagination techniques—using from/size, search_after, the Scroll API, and Point in Time—detailing their syntax, advantages, disadvantages, suitable scenarios, and provides guidance on selecting the optimal method based on depth, consistency, and resource constraints.
PaginationSearch Afterbackend development
0 likes · 10 min read

This article explains how deep pagination in Elasticsearch triggers costly scatter‑gather queries that overload CPU, memory, and network, and it presents practical alternatives such as the scroll API and search_after to achieve efficient, real‑time pagination for large datasets.
Deep PaginationElasticsearchSearch After
0 likes · 10 min read

This article examines a real‑world Elasticsearch pagination case where a range query across multiple indices took ten minutes, analyzes the root causes such as deep pagination, large time windows, and multi‑index scans, and presents concrete optimizations—including reducing page size, narrowing the time range, switching to search_after, and using index aliases—to bring query time down to seconds.
BackendElasticsearchSearch After
0 likes · 10 min read

The article examines why front‑end product search fails during large marketing events, evaluates Elasticsearch's join feature and its drawbacks, compares nested, reverse‑modeling and flattened approaches, recommends reverse modeling for massive activity‑product data, and provides concrete DSL code, pagination and caching tips.
Data ModelingElasticsearchPagination
0 likes · 10 min read

This article explains the five major Elasticsearch query limits—including result size, max clause count, field data, join operations, and query throughput—detailing their default values, why they exist, and practical solutions such as using search_after, scroll API, and resource monitoring to keep clusters stable and performant.
ElasticsearchPerformance TuningSearch After
0 likes · 11 min read

This article explains how Elasticsearch pagination works with from/size, why deep paging can cause performance problems, and compares alternative techniques such as Scroll, Scroll‑Scan, Sliced Scroll, Search After, and point‑in‑time (PIT) searches for handling large result sets efficiently.
Deep PagingElasticsearchPagination
0 likes · 17 min read

This article explains how Elasticsearch handles deep pagination, compares the traditional from/size method with Scroll and Search After techniques, details their internal query and fetch phases, provides practical code examples, and offers guidance on choosing the right approach for large‑scale search workloads.
PaginationSearch Afterbig data
0 likes · 15 min read

This article analyzes Elasticsearch’s three pagination methods—from/size, scroll, and search after—explaining their internal query and fetch phases, performance trade‑offs for deep paging, and provides Java implementation examples and practical recommendations.
ElasticsearchPaginationSearch After
0 likes · 16 min read

This article examines Elasticsearch's three pagination strategies—basic from/size, scroll-based deep paging, and the newer search after method—detailing their execution phases, performance implications, code examples, and practical recommendations for choosing the appropriate approach based on data volume and real‑time requirements.
BackendPaginationSearch After
0 likes · 17 min read

This article examines Elasticsearch's deep pagination challenges and presents three practical solutions—basic from/size, scroll API, and search after—detailing their execution phases, performance trade‑offs, code examples, and guidance on when to choose each method for efficient data retrieval.
PaginationSearch Afterbackend development
0 likes · 14 min read

Elasticsearch offers several pagination strategies—simple from/size, scroll, scroll‑scan, sliced scroll, and the newer search_after with point‑in‑time—each with distinct performance trade‑offs and use‑case suitability, and this guide explains their mechanics, limitations, and best‑practice recommendations for handling deep pagination.
ElasticsearchSearch Afterperformance
0 likes · 18 min read

This article explains three Elasticsearch pagination methods—shallow pagination using from+size, deep pagination with scroll, and cursor‑based pagination with search_after—detailing their principles, usage examples, performance considerations, and how to manage scroll contexts.
Search APISearch Afterfrom+size
0 likes · 6 min read

This article explains Elasticsearch pagination mechanisms—including from/size, deep paging drawbacks, scroll, scroll‑scan, sliced scroll, search_after and point‑in‑time—detailing their inner workings, performance trade‑offs, configuration limits, and practical recommendations for handling large result sets.
BackendDeep PagingElasticsearch
0 likes · 17 min read

This article examines Elasticsearch’s distributed search architecture, explains the two‑phase query and fetch process, identifies performance and relevance scoring challenges, and presents optimization techniques such as Search After with point‑in‑time, Scroll API usage, and DFS query‑then‑fetch for accurate scoring.
Distributed SearchElasticsearchPagination
0 likes · 9 min read

When retrieving large result sets from Elasticsearch, the traditional from+size method hits a 10,000 record limit and can destabilize the cluster, so Elasticsearch offers three deep‑pagination techniques—scroll, sliced scroll, and search_after—to efficiently fetch massive data batches.
ElasticsearchPaginationSearch After
0 likes · 5 min read
