{"action":"created","issue":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/139","repository_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik","labels_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/139/comments","events_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/139/events","html_url":"https://github.com/medcl/elasticsearch-analysis-ik/issues/139","id":128445560,"number":139,"title":"无法将ik设置为默认analyzer","user":{"login":"denghongcai","id":1433247,"avatar_url":"https://avatars.githubusercontent.com/u/1433247?v=3","gravatar_id":"","url":"https://api.github.com/users/denghongcai","html_url":"https://github.com/denghongcai","followers_url":"https://api.github.com/users/denghongcai/followers","following_url":"https://api.github.com/users/denghongcai/following{/other_user}","gists_url":"https://api.github.com/users/denghongcai/gists{/gist_id}","starred_url":"https://api.github.com/users/denghongcai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denghongcai/subscriptions","organizations_url":"https://api.github.com/users/denghongcai/orgs","repos_url":"https://api.github.com/users/denghongcai/repos","events_url":"https://api.github.com/users/denghongcai/events{/privacy}","received_events_url":"https://api.github.com/users/denghongcai/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-01-25T02:21:28Z","updated_at":"2016-03-28T14:31:46Z","closed_at":"2016-01-29T02:59:27Z","body":"```\r\nIndexCreationException[failed to create index]; nested: IllegalArgumentException[Unknown Analyzer type [ik_smart] for [default]]\r\n```\r\n\r\n`ik_smart`改成`ik`也不行\r\n版本是Elasticsearch 2.1.1，以前用1.7.1的时候没碰到过这样的问题，是有什么改动我没注意到吗？\r\n`elasticsearch.yml`里只有一条\r\n```\r\nindex.analysis.analyzer.default.type: ik_smart\r\n```\r\n\r\n```\r\nroot@xxx:/opt/elasticsearch-jdbc-2.1.1.2/bin# /usr/share/elasticsearch/bin/plugin list\r\nInstalled plugins in /usr/share/elasticsearch/plugins:\r\n    - elasticsearch-analysis-mmseg-1.7.0\r\n    - elasticsearch-analysis-pinyin-1.5.2\r\n    - elasticsearch-analysis-stconvert-1.6.1\r\n    - elasticsearch-analysis-ik-1.7.0\r\n```"},"comment":{"url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/comments/202418620","html_url":"https://github.com/medcl/elasticsearch-analysis-ik/issues/139#issuecomment-202418620","issue_url":"https://api.github.com/repos/medcl/elasticsearch-analysis-ik/issues/139","id":202418620,"user":{"login":"medcl","id":64487,"avatar_url":"https://avatars.githubusercontent.com/u/64487?v=3","gravatar_id":"","url":"https://api.github.com/users/medcl","html_url":"https://github.com/medcl","followers_url":"https://api.github.com/users/medcl/followers","following_url":"https://api.github.com/users/medcl/following{/other_user}","gists_url":"https://api.github.com/users/medcl/gists{/gist_id}","starred_url":"https://api.github.com/users/medcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/medcl/subscriptions","organizations_url":"https://api.github.com/users/medcl/orgs","repos_url":"https://api.github.com/users/medcl/repos","events_url":"https://api.github.com/users/medcl/events{/privacy}","received_events_url":"https://api.github.com/users/medcl/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T14:31:46Z","updated_at":"2016-03-28T14:31:46Z","body":"已经fix，b344f2e\r\n好吧，我承认我之前删掉了一个方法"}}