Searchable Elasticsearch cheat sheet, 80+ entries SREs
type into Kibana Dev Tools. Nine sections: index
management (PUT/DELETE, aliases for zero-downtime
reindex, composable templates, _rollover, _reindex with
slices=auto, _forcemerge, refresh/flush), documents
(_doc op_type=create, _update / _update_by_query, _bulk
sweet-spot, _mget, _count), mapping (text vs keyword
multi-fields, date, nested vs flattened object,
geo_point, dynamic:strict to stop mapping explosion),
Query DSL (match, match_phrase with slop, multi_match
best_fields/cross_fields, term/terms, range with date
math, bool must/should/must_not/filter, wildcard/regexp/
prefix/fuzzy, exists, nested with inner_hits,
geo_distance, function_score with gauss decay,
highlight, search_after, scroll vs point_in_time),
aggregations (terms + composite, avg/sum/stats,
cardinality HyperLogLog++, date_histogram with
time_zone, histogram, range, percentiles, sub-aggs,
filter agg, top_hits, significant_terms), analyzers
(standard, language, custom char_filter + tokenizer +
token_filter, edge_ngram for autocomplete, ngram,
synonym, stop, asciifolding, CJK plugins ik/kuromoji/
nori), cluster ops (_cluster/health, allocation explain,
every _cat API with the right columns, _tasks
_cancel), replication and DR (number_of_replicas,
snapshot repo, _snapshot create/restore with rename,
SLM, CCR, ILM hot/warm/cold/frozen/delete), and
production pitfalls (heap > 32GB cliff, mapping
explosion from dynamic:true, deep paging with from +
size, default 1s refresh on heavy writes, disk
watermark flood_stage read-only lock, wrong field type,
bulk size sweet spot, split-brain, fielddata:true heap
OOM). Every entry: command + EN/ZH description + 1-3
pasteable JSON examples + common pitfall. Pure
client-side — no connection, no upload. Pair with Redis,
PostgreSQL, MongoDB and Docker cheat sheets.