{"action":"created","comment":{"url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/comments/78040436","id":78040436,"diff_hunk":"@@ -1,28 +1,21 @@\n-=== Index Settings\n+=== 索引设置\n \n-There are many many knobs(((\"index settings\"))) that you can twiddle to\n-customize index behavior, which you can read about in the\n-{ref}/index-modules.html[Index Modules reference documentation],\n-but...\n+你可以通过修改配置来(((\"index settings\")))定义索引行为，详细配置参照\n+{ref}/index-modules.html[索引模块]\n \n-TIP: Elasticsearch comes with good defaults. Don't twiddle these knobs until\n-you understand what they do and why you should change them.\n+TIP: Elasticsearch 提供了优化好的默认配置。 除非你理解这些配置的作用并且知道为什么要去修改，不要随意修改。\n \n-Two of the most important(((\"shards\", \"number_of_shards index setting\")))(((\"number_of_shards setting\")))(((\"index settings\", \"number_of_shards\"))) settings are as follows:\n+下面是两个(((\"shards\", \"number_of_shards index setting\")))(((\"number_of_shards setting\")))(((\"index settings\", \"number_of_shards\"))) 最重要的设置：\n \n `number_of_shards`::\n \n-    The number of primary shards that an index should have,\n-    which defaults to `5`.  This setting cannot be changed\n-    after index creation.\n+    每个索引都应设置主分片数,默认值是 `5` 。这个配置在索引创建后不能修改。","path":"070_Index_Mgmt/10_Settings.asciidoc","position":23,"original_position":23,"commit_id":"a7c465296f2781521cb569b192563015e92ec3b4","original_commit_id":"a7c465296f2781521cb569b192563015e92ec3b4","user":{"login":"leo650","id":5074423,"avatar_url":"https://avatars.githubusercontent.com/u/5074423?v=3","gravatar_id":"","url":"https://api.github.com/users/leo650","html_url":"https://github.com/leo650","followers_url":"https://api.github.com/users/leo650/followers","following_url":"https://api.github.com/users/leo650/following{/other_user}","gists_url":"https://api.github.com/users/leo650/gists{/gist_id}","starred_url":"https://api.github.com/users/leo650/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo650/subscriptions","organizations_url":"https://api.github.com/users/leo650/orgs","repos_url":"https://api.github.com/users/leo650/repos","events_url":"https://api.github.com/users/leo650/events{/privacy}","received_events_url":"https://api.github.com/users/leo650/received_events","type":"User","site_admin":false},"body":"第一个逗号，非中文。","created_at":"2016-09-08T16:25:52Z","updated_at":"2016-09-08T16:25:52Z","html_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163#discussion_r78040436","pull_request_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163","_links":{"self":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/comments/78040436"},"html":{"href":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163#discussion_r78040436"},"pull_request":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163"}}},"pull_request":{"url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163","id":80012956,"html_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163","diff_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163.diff","patch_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163.patch","issue_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/163","number":163,"state":"open","locked":false,"title":"chapter10_part2:/070_Index_Mgmt/10_Settings.asciidoc","user":{"login":"yichao2015","id":13376721,"avatar_url":"https://avatars.githubusercontent.com/u/13376721?v=3","gravatar_id":"","url":"https://api.github.com/users/yichao2015","html_url":"https://github.com/yichao2015","followers_url":"https://api.github.com/users/yichao2015/followers","following_url":"https://api.github.com/users/yichao2015/following{/other_user}","gists_url":"https://api.github.com/users/yichao2015/gists{/gist_id}","starred_url":"https://api.github.com/users/yichao2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichao2015/subscriptions","organizations_url":"https://api.github.com/users/yichao2015/orgs","repos_url":"https://api.github.com/users/yichao2015/repos","events_url":"https://api.github.com/users/yichao2015/events{/privacy}","received_events_url":"https://api.github.com/users/yichao2015/received_events","type":"User","site_admin":false},"body":"<!--\r\nThanks for the Pull Request!  We really appreciate your help and contribution!\r\n\r\nBefore you submit the PR, have you signed Contributor License Agreement: https://www.elastic.co/contributor-agreement/ ?\r\n\r\nPR's (no matter how small) cannot be merged until the CLA has been signed.  \r\nIt only needs to be signed once, however. Thanks!\r\n-->\r\n\r\n","created_at":"2016-08-04T03:22:12Z","updated_at":"2016-09-08T16:25:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"771f50d875e7aecb3781503f7dffefea105f58db","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163/commits","review_comments_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163/comments","review_comment_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/163/comments","statuses_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/statuses/a7c465296f2781521cb569b192563015e92ec3b4","head":{"label":"yichao2015:chapter/chapter10_part2","ref":"chapter/chapter10_part2","sha":"a7c465296f2781521cb569b192563015e92ec3b4","user":{"login":"yichao2015","id":13376721,"avatar_url":"https://avatars.githubusercontent.com/u/13376721?v=3","gravatar_id":"","url":"https://api.github.com/users/yichao2015","html_url":"https://github.com/yichao2015","followers_url":"https://api.github.com/users/yichao2015/followers","following_url":"https://api.github.com/users/yichao2015/following{/other_user}","gists_url":"https://api.github.com/users/yichao2015/gists{/gist_id}","starred_url":"https://api.github.com/users/yichao2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichao2015/subscriptions","organizations_url":"https://api.github.com/users/yichao2015/orgs","repos_url":"https://api.github.com/users/yichao2015/repos","events_url":"https://api.github.com/users/yichao2015/events{/privacy}","received_events_url":"https://api.github.com/users/yichao2015/received_events","type":"User","site_admin":false},"repo":{"id":64441126,"name":"elasticsearch-definitive-guide","full_name":"yichao2015/elasticsearch-definitive-guide","owner":{"login":"yichao2015","id":13376721,"avatar_url":"https://avatars.githubusercontent.com/u/13376721?v=3","gravatar_id":"","url":"https://api.github.com/users/yichao2015","html_url":"https://github.com/yichao2015","followers_url":"https://api.github.com/users/yichao2015/followers","following_url":"https://api.github.com/users/yichao2015/following{/other_user}","gists_url":"https://api.github.com/users/yichao2015/gists{/gist_id}","starred_url":"https://api.github.com/users/yichao2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yichao2015/subscriptions","organizations_url":"https://api.github.com/users/yichao2015/orgs","repos_url":"https://api.github.com/users/yichao2015/repos","events_url":"https://api.github.com/users/yichao2015/events{/privacy}","received_events_url":"https://api.github.com/users/yichao2015/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yichao2015/elasticsearch-definitive-guide","description":"欢迎加群：109764489，贡献力量！","fork":true,"url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide","forks_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/forks","keys_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/teams","hooks_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/hooks","issue_events_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/issues/events{/number}","events_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/events","assignees_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/assignees{/user}","branches_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/branches{/branch}","tags_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/tags","blobs_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/languages","stargazers_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/stargazers","contributors_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/contributors","subscribers_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/subscribers","subscription_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/subscription","commits_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/contents/{+path}","compare_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/merges","archive_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/downloads","issues_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/issues{/number}","pulls_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/labels{/name}","releases_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/releases{/id}","deployments_url":"https://api.github.com/repos/yichao2015/elasticsearch-definitive-guide/deployments","created_at":"2016-07-29T01:44:49Z","updated_at":"2016-07-29T01:44:53Z","pushed_at":"2016-08-21T11:44:59Z","git_url":"git://github.com/yichao2015/elasticsearch-definitive-guide.git","ssh_url":"git@github.com:yichao2015/elasticsearch-definitive-guide.git","clone_url":"https://github.com/yichao2015/elasticsearch-definitive-guide.git","svn_url":"https://github.com/yichao2015/elasticsearch-definitive-guide","homepage":"","size":8107,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"cn"}},"base":{"label":"elasticsearch-cn:cn","ref":"cn","sha":"a1fbbfd6a818bf398a9a7ebc7a5bec0ed0517888","user":{"login":"elasticsearch-cn","id":2517572,"avatar_url":"https://avatars.githubusercontent.com/u/2517572?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch-cn","html_url":"https://github.com/elasticsearch-cn","followers_url":"https://api.github.com/users/elasticsearch-cn/followers","following_url":"https://api.github.com/users/elasticsearch-cn/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch-cn/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch-cn/orgs","repos_url":"https://api.github.com/users/elasticsearch-cn/repos","events_url":"https://api.github.com/users/elasticsearch-cn/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch-cn/received_events","type":"Organization","site_admin":false},"repo":{"id":20916742,"name":"elasticsearch-definitive-guide","full_name":"elasticsearch-cn/elasticsearch-definitive-guide","owner":{"login":"elasticsearch-cn","id":2517572,"avatar_url":"https://avatars.githubusercontent.com/u/2517572?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch-cn","html_url":"https://github.com/elasticsearch-cn","followers_url":"https://api.github.com/users/elasticsearch-cn/followers","following_url":"https://api.github.com/users/elasticsearch-cn/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch-cn/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch-cn/orgs","repos_url":"https://api.github.com/users/elasticsearch-cn/repos","events_url":"https://api.github.com/users/elasticsearch-cn/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch-cn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide","description":"欢迎加QQ群：109764489，贡献力量！","fork":true,"url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide","forks_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/forks","keys_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/teams","hooks_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/hooks","issue_events_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/events{/number}","events_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/events","assignees_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/assignees{/user}","branches_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/branches{/branch}","tags_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/tags","blobs_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/languages","stargazers_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/stargazers","contributors_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/contributors","subscribers_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/subscribers","subscription_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/subscription","commits_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/contents/{+path}","compare_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/merges","archive_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/downloads","issues_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues{/number}","pulls_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/labels{/name}","releases_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/releases{/id}","deployments_url":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/deployments","created_at":"2014-06-17T08:56:29Z","updated_at":"2016-09-03T08:17:36Z","pushed_at":"2016-09-08T10:18:04Z","git_url":"git://github.com/elasticsearch-cn/elasticsearch-definitive-guide.git","ssh_url":"git@github.com:elasticsearch-cn/elasticsearch-definitive-guide.git","clone_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide.git","svn_url":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide","homepage":"","size":8907,"stargazers_count":72,"watchers_count":72,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"open_issues_count":201,"forks":79,"open_issues":201,"watchers":72,"default_branch":"cn"}},"_links":{"self":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163"},"html":{"href":"https://github.com/elasticsearch-cn/elasticsearch-definitive-guide/pull/163"},"issue":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/163"},"comments":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/elasticsearch-cn/elasticsearch-definitive-guide/statuses/a7c465296f2781521cb569b192563015e92ec3b4"}}}}
{"actor":{"display_login":"leo650"}}