Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs Elasticsearch indices, analyzers, full-text queries, aggregations and relevance tuning; optimizes search performance.
82% 100%+18 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 18 of 22 without it.
3 of 3 safety checks passed
Not used yet
Design and implement Elasticsearch search solutions including index mappings, custom analyzers, full-text queries, aggregations, and relevance tuning. Covers index lifecycle, search templates, and performance optimization.
Elasticsearch 8 and 9 start with security on: HTTPS, a generated elastic password and a CA certificate. Set the base URL once and add credentials from the environment (never in the command text). For a throwaway local node started with xpack.security.enabled=false, plain http://127.0.0.1:9200 works.
export ES_URL="https://127.0.0.1:9200"
# secured cluster: add to each curl -u "elastic:$ELASTIC_PASSWORD" --cacert "$ES_CA_CERT"
# or with an API key: -H "Authorization: ApiKey $ES_API_KEY"
curl -s "$ES_URL" -u "elastic:$ELASTIC_PASSWORD" --cacert "$ES_CA_CERT"
The commands below omit the credential flags to stay readable; add them on a secured cluster. A single shard is right for small indices (under tens of GB); more shards add overhead.
# Create an index with explicit mappings and custom analyzers
curl -X PUT "$ES_URL/products" \
-H "Content-Type: application/json" \
-d '{
"settings": {
"number_of_shards": 1,
"number_of_replicas": 1,
"analysis": {
"analyzer": {
"product_analyzer": {
"type": "custom",
"tokenizer": "standard",
"filter": ["lowercase", "asciifolding", "product_synonyms", "product_stemmer"]
},
"autocomplete_analyzer": {
"type": "custom",
Next to this one in the catalogue, plus popular skills in the same category.