{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/302","labels_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/302/comments","events_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/302/events","html_url":"https://github.com/elasticsearch/elasticsearch/issues/302","id":272320,"number":302,"title":"Update Settings API: Allow to dynamically change the number of replicas","user":{"login":"kimchy","id":41300,"avatar_url":"https://avatars.githubusercontent.com/u/41300?v=3","gravatar_id":"","url":"https://api.github.com/users/kimchy","html_url":"https://github.com/kimchy","followers_url":"https://api.github.com/users/kimchy/followers","following_url":"https://api.github.com/users/kimchy/following{/other_user}","gists_url":"https://api.github.com/users/kimchy/gists{/gist_id}","starred_url":"https://api.github.com/users/kimchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kimchy/subscriptions","organizations_url":"https://api.github.com/users/kimchy/orgs","repos_url":"https://api.github.com/users/kimchy/repos","events_url":"https://api.github.com/users/kimchy/events{/privacy}","received_events_url":"https://api.github.com/users/kimchy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/feature","name":"feature","color":"328a58"},{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/labels/v0.10.0","name":"v0.10.0","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2010-08-08T18:45:38Z","updated_at":"2015-02-16T09:45:50Z","closed_at":"2010-08-09T01:46:22Z","body":"A new API, update index / indices settings, allowing to change specific index level settings. The first setting supported is the `index.number_of_replicas` setting allowing to dynamically change the number of replicas an index has. \r\n\r\nThe REST endpoint is `/_settings` (to update all indices) or `{index}/_settings` to update one (or more) indices settings. The body of the request includes the updated settings, for example:\r\n\r\n    {\r\n        \"index\" : {\r\n            \"number_of_replicas\" : 4\r\n        }\r\n    }\r\n\r\nThe above will change the number of replicas to 4 from the current number of replicas. Here is a curl example:\r\n\r\n    curl -XPUT 'localhost:9200/my_index/_settings' -d '\r\n    {\r\n        \"index\" : {\r\n            \"number_of_replicas\" : 4\r\n        }\r\n    }\r\n    '\r\n"},"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/comments/74482276","html_url":"https://github.com/elasticsearch/elasticsearch/issues/302#issuecomment-74482276","issue_url":"https://api.github.com/repos/elasticsearch/elasticsearch/issues/302","id":74482276,"user":{"login":"ayush21792","id":9428162,"avatar_url":"https://avatars.githubusercontent.com/u/9428162?v=3","gravatar_id":"","url":"https://api.github.com/users/ayush21792","html_url":"https://github.com/ayush21792","followers_url":"https://api.github.com/users/ayush21792/followers","following_url":"https://api.github.com/users/ayush21792/following{/other_user}","gists_url":"https://api.github.com/users/ayush21792/gists{/gist_id}","starred_url":"https://api.github.com/users/ayush21792/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayush21792/subscriptions","organizations_url":"https://api.github.com/users/ayush21792/orgs","repos_url":"https://api.github.com/users/ayush21792/repos","events_url":"https://api.github.com/users/ayush21792/events{/privacy}","received_events_url":"https://api.github.com/users/ayush21792/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T09:45:50Z","updated_at":"2015-02-16T09:45:50Z","body":"Ayush Gupta would like to connect on LinkedIn. How would you like to respond?\n\nAccept: https://www.linkedin.com/blink?simpleRedirect=0SejoPcjoTe3AVcP0PdP8UdzARfkh9rCZFt65QqnpKqioTmloRmk9fqjRVpkJApn9xq7cCej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9ClQqnpKimtBkClOs3Rx9CoJrmFxpCYTdCAJu6hUsC9EbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5968273076624846849_500&markAsRead=\n\nView Ayush Gupta&#39;s profile: https://www.linkedin.com/blink?simpleRedirect=ej5vs7xBnTpKqjRHpipOpmhKqmRBsyRQs6lzoS4JoyRDtCVFnSRJrScJr6RBfmtKqmJzon9Q9DpMrzRQ9CoJrmFxpCYTdCAJu6hUsC9EbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5968273076624846849_500&markAsRead=\n\nYou are receiving Reminder emails for pending invitations. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=1JrSd5cylytmxQqmt5cylVr71Bsz0Q9j8ScjwOd3AJd38Qe6pzcjlApCdAojkVe3oNdj1Ae3sRojxxe6kOdjhzczdBe6oTciQMczcOdP8Jqk8O9nBIs6lOfmNFomRB9z0Sc30OfmhF9zoVdzcNdzsUejAPc3cTczwSejkZp6BD9zANnT1UplZSrCAZqSkCoDlPrDkJpyRzoClJnSRJrScJr6RBfmtKqmJzon9Q9CZLpPRQ9CoJrmFxpCYTdCAJu6hUsC9EbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5968273076624846849_500&markAsRead=\n\nYou received an invitation to connect. LinkedIn will use your email address to make suggestions to our members in features like People You May Know. Unsubscribe here: https://www.linkedin.com/blink?simpleRedirect=1CbmRGompLdPpFbnxAu79yq2QZp6BB9ztAi6sQejoQh71ydkkVdQJIjlBNoTcTgnBes5hds7pFqlFvlnx1gQhIe6wJm39KjzsPdngRpjxjgmpScllRiPBOpS8Sum8UjPlIukpUciReojdMoT1xjRFarll7tD5Jhm5zi7B9qBd5rmVeu7dHh3xek4lkmB9ejBhVsSMVk3xmiARzh4VorPtGozhUkDllgk51gmhbtmQPh6RqcjB8kk4Zp6BLr2oVclZMu6lvtCVFfmJB9B4ScSh5hSxmhD9JhB51fmVBqSZkp6BJ9CVRr3RQ9CoJrmFxpCYTdCAJu6hUsC9EbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&amp;msgID=I5968273076624846849_500&amp;markAsRead= Learn why we included this at the following link: https://www.linkedin.com/blink?simpleRedirect=0Ue3sQfmh9pmNzqnhOoioVclZMu6lvtCVFfmJB9CNOlmlzqnpOpldOpmRLt7dRoPRx9CoJrmFxpCYTdCAJu6hUsC9EbjRBfP9SbSkLrmZzbCVFp6lHrCBIbDtTtOYLeDdMt7hE&msgID=I5968273076624846849_500&markAsRead=\n&copy; 2014, LinkedIn Corporation. 2029 Stierlin Ct. Mountain View, CA 94043, USA"}}