This repo is a personal collection of Elasticsearch resources, which is for my personal use, e.g. to store some useful Elasticsearch queries for future reference.
All files are Markdown files that collect resources to achieve certain things. The documents have been written by myself, their contents have either been created by me or partially collected from other places, e.g. Stackoverflow.
elasticsearch-queries
├── add-unique-ids-approaches.md # Ways to achieve a unique id field in Elasticsearch.
├── alias-auto-update-on-index-creation.md # How to auto-add aliases to indices based on index patterns.
├── always-false-queries.md # How to invalidate queries with always false conditions.
├── cluster-settings.md # Queries to modify cluster settings.
├── count_fields_in_index.md # How to count fields in an ES index.
├── denormalizing-enrich-ingest-pipeline.md # Denormalization example with enrichment.
├── dumping-indices.md # Ingesting dumps into ES and dumping ES indices.
├── explicit-and-implicit-nulls.md # Short comparison of explicit and implicit NULL values.
├── random-subsample-query.md # How to produce subset of query result.
├── retrieve-fields-which-were-hit.md # Get a list of fields that contain a match for each hit.
└── README.md # This file.