Skip to content

Instantly share code, notes, and snippets.

View valh1996's full-sized avatar
๐Ÿ˜„
Fullstack Web Developer

Valentin Hutter valh1996

๐Ÿ˜„
Fullstack Web Developer
View GitHub Profile
@angristan
angristan / single-node-es.md
Last active February 6, 2025 11:10
Elasticsearch settings for single-node cluster (1 shard, 0 replica)

Elasticsearch settings for single-node cluster

1 shard, 0 replica.

For future indices

Update default template:

curl -X PUT http://localhost:9200/_template/default -H 'Content-Type: application/json' -d '{"index_patterns": ["*"],"order": -1,"settings": {"number_of_shards": "1","number_of_replicas": "0"}}'