Re: Unable to disable shard allocation when an index is stored in memory

2015-01-21 Thread bplsilva
As suggested here in the documentation (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-store.html), we have performed the following command curl -XPUT hostName:9200/indexName -d '{ "settings": { "index.store.type": "memory" } }'; when creating the index.

Unable to disable shard allocation when an index is stored in memory

2015-01-21 Thread bplsilva
Hello, I have been writing a script that for properly restarting all the nodes of an ES cluster and I have noticed a few particular things in the process. The process is quite simple, it is the same described in the official ES documentation http://www.elasticsearch.org/guide/en/elasticsearch/re

Re: Removing multiple snapshots using the API

2015-01-21 Thread bplsilva
You could everything through the API. - list all the snapshots in the repository - parse the JSON returned - for each snapshot, if it's older than 7 days, delete the snapshot Le mardi 20 janvier 2015 19:19:38 UTC-2, abutalib zaidi a écrit : > > I am fairly new to ElasticSearch and was trying to d

Re: Delete all the snapshots in a repository

2014-12-26 Thread bplsilva
Hi, that would try to delete all the snapshots repositories registered in the cluster. What I would like is to, given a repository, delete all the snapshots of such repository. Thanks, Bruno Le vendredi 26 décembre 2014 12:37:46 UTC-2, vineeth mohan a écrit : > > Hi , > > Can you remove the s

Delete all the snapshots in a repository

2014-12-26 Thread bplsilva
Hello, I know the *delete all* kind of operations are the ones to avoid, but in this case, I'm really needing it. I'd like to delete all the snapshots in a repository before creating a new snapshot. Is there any easy method to do that? I have tried: *curl -XDELETE "localhost:9200/_snapshot/bac