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 4, 2024 19:55
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"}}'