Last active
December 18, 2015 04:59
-
-
Save jprante/5729799 to your computer and use it in GitHub Desktop.
Elasticsearch: how to update index cache filter settings dynamically
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
| curl -XDELETE 'localhost:9200/test' | |
| curl -XPUT 'localhost:9200/test' | |
| curl -XPOST 'localhost:9200/test/_close' | |
| curl -XPUT 'localhost:9200/test/_settings' -d ' | |
| { | |
| "cache" : { | |
| "filter" : { | |
| "max_size": 100, | |
| "expire" : "5m" | |
| } | |
| } | |
| } | |
| ' | |
| curl -XPOST 'localhost:9200/test/_open' | |
| curl -XGET 'localhost:9200/test/_settings?pretty' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment