Last active
July 26, 2022 16:29
-
-
Save midwire/9d36a8c16ce259e19ea04f9788985ba4 to your computer and use it in GitHub Desktop.
[Elasticsearch tuning]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### TUNE for indexing vs. searching | |
# Increase index buffer size | |
indices.memory.index_buffer_size: 20% | |
# Index refresh interval | |
# Don't refresh/write so often | |
curl -XPUT 'http://il-prod-es01:9200/_all/_settings?preserve_existing=true' \ | |
-H 'Content-Type: application/json; charset=utf-8' \ | |
-d '{ | |
"index.refresh_interval" : "30s" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment