{"action":"opened","issue":{"url":"https://api.github.com/repos/elmahio/Elmah.Io.ElasticSearch/issues/11","labels_url":"https://api.github.com/repos/elmahio/Elmah.Io.ElasticSearch/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/elmahio/Elmah.Io.ElasticSearch/issues/11/comments","events_url":"https://api.github.com/repos/elmahio/Elmah.Io.ElasticSearch/issues/11/events","html_url":"https://github.com/elmahio/Elmah.Io.ElasticSearch/issues/11","id":60697503,"number":11,"title":"Replica settings should not be set to zero","user":{"login":"jayhilden","id":6517265,"avatar_url":"https://avatars.githubusercontent.com/u/6517265?v=3","gravatar_id":"","url":"https://api.github.com/users/jayhilden","html_url":"https://github.com/jayhilden","followers_url":"https://api.github.com/users/jayhilden/followers","following_url":"https://api.github.com/users/jayhilden/following{/other_user}","gists_url":"https://api.github.com/users/jayhilden/gists{/gist_id}","starred_url":"https://api.github.com/users/jayhilden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayhilden/subscriptions","organizations_url":"https://api.github.com/users/jayhilden/orgs","repos_url":"https://api.github.com/users/jayhilden/repos","events_url":"https://api.github.com/users/jayhilden/events{/privacy}","received_events_url":"https://api.github.com/users/jayhilden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T17:38:40Z","updated_at":"2015-03-11T17:38:40Z","closed_at":null,"body":"Currently, when the Elmah index is setup in ElasticSearch the following defaults are overridden:\r\n\r\nReplicas = 0\r\nShards = 1\r\nmerge.policy.merge_factor = 10 --note: this is the Elastic Default\r\nsearch.slowlog.threshold.fetch.warn = 1s\r\n\r\nhttps://github.com/elmahio/Elmah.Io.ElasticSearch/blob/06433749c0e75757a95b56c061ab946cf3f4c14e/Elmah.Io.ElasticSearch/ElasticSearchErrorLog.cs#L122\r\n\r\nIn a production environment where there is more than 1 node setting replicas = 0 means that a copy of the data would not exist on the other nodes in the cluster.  This is not ideal.\r\n\r\nElasticSearch support recommends leaving all of these at the default values and only tweaking them if necessary in production."}}