
Elasticsearch Expert
This covers the essentials of working with Elasticsearch, from index management and mapping design to complex boolean queries and aggregations. You get Python examples for bulk indexing, multi-match searches with field boosting, and common aggregation patterns like histograms and term buckets. The best practices section is solid, calling out things like using search_after instead of deep pagination and applying filters for exact matches. It's aimed at someone building search functionality or working with the ELK stack who needs quick reference material for queries and cluster operations. The anti-patterns list alone will save you from common performance mistakes.
- skills.sh installs
- 203
- GitHub stars
- 44
- last updated
- Aug 21, 2026
Install
$ npx -y skills add personamanagmentlayer/pcl --skill elasticsearch-expert --agent claude-codeInstalls into .claude/skills of the current project.
Files
Elasticsearch Expert
Expert guidance for Elasticsearch, search optimization, ELK stack, and distributed search systems.
Core Concepts
- Full-text search and inverted indexes
- Document-oriented storage
- RESTful API
- Distributed architecture with sharding
- ELK stack (Elasticsearch, Logstash, Kibana)
- Aggregations and analytics
Index Management
from elasticsearch import Elasticsearch
es = Elasticsearch(['http://localhost:9200'])
# Create index with mapping
mapping = {
"mappings": {
"properties": {
"title": {"type": "text", "analyzer": "english"},
"content": {"type": "text"},
"author": {"type": "keyword"},
"created_at": {"type": "date"},
"views": {"type": "integer"}
}
}
}
es.indices.create(index='articles', body=mapping)
# Index document
doc = {
"title": "Elasticsearch Guide",
"content": "Complete guide to Elasticsearch",
"author": "John Doe",
"created_at": "2024-01-01",
"views": 100
}
es.index(index='articles', id=1, body=doc)
# Bulk indexing
from elasticsearch.helpers import bulk
Sponsors
Details
- Repository
- github.com/personamanagmentlayer/pcl
- Category
- Databases
- First seen
- Jun 3, 2026
More from personamanagmentlayer/pcl
All 99- Testing Expert203
- Kotlin Expert201
- Sre Expert201
- React Expert197
- Performance Expert196
- Javascript Expert195
- Elixir Expert192
- Looker Expert192
- Mongodb Expert192
- Stockbreeder Expert192
- Ruby Expert191
- Cicd Expert190
- Code Review Expert189
- Go Expert188
- Terraform Expert187
- Audit Expert186
- Monitoring Expert186
- Typescript Expert185
- Ai Architect Expert182
- Istio Expert181
- Qa Expert181
- Grpc Expert180
- Media Expert180
- Microservices Expert179