{"id":2886,"date":"2018-06-18T15:03:10","date_gmt":"2018-06-18T07:03:10","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=2886"},"modified":"2018-06-18T15:03:10","modified_gmt":"2018-06-18T07:03:10","slug":"org-elasticsearch-bootstrap-startupexception-java-lang-illegalargumentexception-node-settings-must-not-contain-any-index-level-settings","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=2886","title":{"rendered":"org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: node settings must not contain any index level settings"},"content":{"rendered":"<p>\n\t\u5728\u914d\u7f6e analysis-ik \u63d2\u4ef6\u540e\uff0c\u542f\u52a8 elasticsearch \u51fa\u73b0\u8fd9\u4e2a\u5f02\u5e38\u3002org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: node settings must not contain any index level settings\u3002\n<\/p>\n<p>\n\t\u7f51\u4e0a\u641c\u7d22\u6ca1\u6709\u5f97\u5230\u76f8\u5173\u7684\u7b54\u6848\uff0c\u4e3b\u8981\u662f\u767e\u5ea6\u641c\u7d22\u8fd9\u4e2a\u6807\u9898\u540e\uff0c\u53d1\u73b0\u8d85\u8fc738\u4e2a\u5b57\u7b26\u7684\u5185\u5bb9\u90fd\u88ab\u622a\u53d6\u4e86\uff0c\u5f88\u96be\u5339\u914d\u7684\u540e\u9762\u7c7b\u578b\u4e00\u76f4\u7684\u5185\u5bb9\u3002\n<\/p>\n<p>\n\t\u8fd9\u4e2a\u95ee\u9898\u770b\u6765\u53ea\u80fd\u6211\u81ea\u5df1\u6309\u7167\u5b89\u88c5\u63d2\u4ef6\u7684\u601d\u8def\u6765\u89e3\u51b3\u4e86\u3002\u6700\u540e\u6211\u53d1\u73b0\u662f&nbsp;elasticsearch.yml \u4e2d\u914d\u7f6e\u4e86&nbsp;index.analysis.analyzer.ik.type: &quot;ik&quot; \u5bfc\u81f4\u7684\u3002\u6700\u7ec8\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u53bb\u6389\u8fd9\u4e2a\u914d\u7f6e\uff0c\u6216\u8005\u6ce8\u91ca\u6389\u3002\u7f51\u4e0a\u6709\u7684\u6559\u7a0b\u8bf4\u5b89\u88c5&nbsp;analysis-ik \u63d2\u4ef6\u9700\u8981\u505a\u8fd9\u4e2a\u914d\u7f6e\uff0c\u4f46\u662f\u5b9e\u9645\u4e0a\u53ef\u80fd\u5e76\u4e0d\u9700\u8981\u8fd9\u4e2a\u914d\u7f6e\u3002\u5f53\u7136\u4e5f\u6709\u53ef\u80fd\u662f\u6211\u7684\u7248\u672c\u548c\u5176\u4ed6\u7684\u4eba\u7684\u7248\u672c\u4e0d\u4e00\u81f4\u5bfc\u81f4\u7684\uff0c\u540e\u9762\u6211\u5728\u6df1\u5165\u7684\u5b66\u4e60\u5b66\u4e60&nbsp;elasticsearch \u4e4b\u540e\u518d\u8bf4\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=2886\">org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: node settings must not contain any index level settings<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u5728\u914d\u7f6e analysis-ik \u63d2\u4ef6\u540e\uff0c\u542f\u52a8 elasticsearch \u51fa\u73b0\u8fd9\u4e2a\u5f02\u5e38\u3002org.elastic [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1652,1444,1446,1447,1448],"class_list":["post-2886","post","type-post","status-publish","format-standard","hentry","category-java","tag-elasticsearch","tag-lucene","tag-lucene-","tag-solrlucene"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2886"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2886\/revisions"}],"predecessor-version":[{"id":2887,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/2886\/revisions\/2887"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}