Dynamic mapping stored amount as text, a terms agg became the executive number, and nobody could replay the index. Idempotent ids, a reindex fallback, and leave warehouse math in the warehouse.
elasticsearch
search
About Elasticsearch
Elasticsearch and OpenSearch are the search and log serving plane: inverted indexes, not a warehouse. Data engineers land events here for product search and observability, then regret using it as the system of record.
What you'll learn here
Index mappings and why dynamic mapping bites
When to dual-write vs change-data into search
OpenSearch vs Elasticsearch as a procurement fact
Why aggregations here are not a substitute for ClickHouse or a warehouse
Frequently asked questions
Can Elasticsearch replace the warehouse?
No. Different storage, different consistency, terrible at wide analytical joins. Search belongs in search. Finance belongs in a warehouse.
How should I keep search in sync?
CDC or an event bus into the indexer, with an idempotent document id. Nightly full reindex is a fallback, not the architecture.
OpenSearch or Elasticsearch?
Whatever your cloud and license already are. AWS shops often land on OpenSearch. The DE skill is mappings and sync, not the brand fight.
Cookies and ads
Theme, saved posts, account, and coding history stay on this device. Optional advertising and analytics cookies load only if you accept. See thecookie policy.