{"id":5329,"date":"2023-04-24T17:42:42","date_gmt":"2023-04-24T09:42:42","guid":{"rendered":"http:\/\/www.menglanglang.cn\/?p=5329"},"modified":"2023-04-24T17:42:43","modified_gmt":"2023-04-24T09:42:43","slug":"%e5%a4%a7%e6%95%b0%e6%8d%ae%e5%ad%a6%e4%b9%a0%e5%88%9d%e7%ba%a7%e5%85%a5%e9%97%a8%e6%95%99%e7%a8%8b%ef%bc%88%e5%8d%81%e4%b8%83%ef%bc%89-elasticsearch-8-7-0-%e5%ae%8c%e5%85%a8","status":"publish","type":"post","link":"http:\/\/www.menglanglang.cn\/?p=5329","title":{"rendered":"\u5927\u6570\u636e\u5b66\u4e60\u521d\u7ea7\u5165\u95e8\u6559\u7a0b\uff08\u5341\u4e03\uff09 \u2014\u2014 Elasticsearch 8.7.0 \u5b8c\u5168\u5206\u5e03\u5f0f\u96c6\u7fa4\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u548c\u6d4b\u8bd5"},"content":{"rendered":"\n<p>\u200b\u597d\u4e45\u6ca1\u7528 Elasticsearch \u96c6\u7fa4\u4e86\uff0c\u53c2\u8003\u4ee5\u524d\u5199\u7684\u300a<a href=\"http:\/\/www.menglanglang.cn\/?p=4633\">\u5927\u6570\u636e\u5b66\u4e60\u521d\u7ea7\u5165\u95e8\u6559\u7a0b\uff08\u516b\uff09 \u2014\u2014 Elasticsearch 7.6.2 \u5355\u8282\u70b9\u7684\u5b89\u88c5\u3001\u542f\u52a8\u548c\u6d4b\u8bd5<\/a>\u300b\u3001\u300a<a href=\"http:\/\/www.menglanglang.cn\/?p=4639\">\u5927\u6570\u636e\u5b66\u4e60\u521d\u7ea7\u5165\u95e8\u6559\u7a0b\uff08\u4e5d\uff09 \u2014\u2014 Elasticsearch 7.6.2 \u4f2a\u5206\u5e03\u5f0f\u96c6\u7fa4\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u548c\u6d4b\u8bd5<\/a>\u300b\u548c\u300a<a href=\"http:\/\/www.menglanglang.cn\/?p=4642\">\u5927\u6570\u636e\u5b66\u4e60\u521d\u7ea7\u5165\u95e8\u6559\u7a0b\uff08\u5341\uff09 \u2014\u2014 Elasticsearch 7.6.2 \u5b8c\u5168\u5206\u5e03\u5f0f\u96c6\u7fa4\u7684\u5b89\u88c5\u3001\u914d\u7f6e\u3001\u542f\u52a8\u548c\u6d4b\u8bd5<\/a>\u300b\uff0c\u4e0b\u8f7d\u4e86\u76ee\u524d\u5b98\u7f51\u6700\u65b0\u7684\u7248\u672c elasticsearch-8.7.0-linux-x86_64\u00a0\u518d\u91cd\u6e29\u4e0b\u96c6\u7fa4\u90e8\u7f72\u3002\u6309\u6b65\u9aa4\u90e8\u7f72\u8fc7\u7a0b\u4e2d\uff0c\u53d1\u73b0\u4e0d\u5c11\u548c\u8001\u7248\u672c\u4e0d\u4e00\u81f4\u7684\u5730\u65b9\uff0c\u8fd9\u91cc\u8bb0\u5f55\u4e00\u4e0b\u3002<\/p>\n\n\n\n<p>\u8001\u7248\u672c\u914d\u7f6e\u4e2d\u5f88\u591a\u914d\u7f6e\u9879\u5728\u65b0\u7248\u672c\u4e2d\u65e0\u6cd5\u8bc6\u522b\u800c\u62a5\u9519\uff0c\u65b0\u7248\u672c\u7684\u914d\u7f6e\u6587\u4ef6\u5982\u4e0b\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p># ======================== Elasticsearch Configuration =========================<br \/>#<br \/># NOTE: Elasticsearch comes with reasonable defaults for most settings.<br \/># &nbsp; &nbsp; &nbsp; Before you set out to tweak and tune the configuration, make sure you<br \/># &nbsp; &nbsp; &nbsp; understand what are you trying to accomplish and the consequences.<br \/>#<br \/># The primary way of configuring a node is via this file. This template lists<br \/># the most important settings you may want to configure for a production cluster.<br \/>#<br \/># Please consult the documentation for further information on configuration options:<br \/># https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/index.html<br \/>#<br \/># ---------------------------------- Cluster -----------------------------------<br \/>#<br \/># Use a descriptive name for your cluster:<br \/>#<br \/>cluster.name: mllcluster-es870<br \/>#<br \/># ------------------------------------ Node ------------------------------------<br \/>#<br \/># Use a descriptive name for the node:<br \/>#<br \/>node.name: es111<br \/>#<br \/># Add custom attributes to the node:<br \/>#<br \/>#node.attr.rack: r1<br \/>node.roles: [master,data]<br \/>#<br \/># ----------------------------------- Paths ------------------------------------<br \/>#<br \/># Path to directory where to store the data (separate multiple locations by comma):<br \/>#<br \/>path.data: \/data\/elasticsearch\/elasticsearch-8.7.0<br \/>#<br \/># Path to log files:<br \/>#<br \/>#path.logs: \/path\/to\/logs<br \/>#<br \/># ----------------------------------- Memory -----------------------------------<br \/>#<br \/># Lock the memory on startup:<br \/>#<br \/>#bootstrap.memory_lock: true<br \/>#<br \/># Make sure that the heap size is set to about half the memory available<br \/># on the system and that the owner of the process is allowed to use this<br \/># limit.<br \/>#<br \/># Elasticsearch performs poorly when the system is swapping the memory.<br \/>#<br \/># ---------------------------------- Network -----------------------------------<br \/>#<br \/># By default Elasticsearch is only accessible on localhost. Set a different<br \/># address here to expose this node on the network:<br \/>#<br \/>network.host: 192.168.220.111<br \/>#<br \/># By default Elasticsearch listens for HTTP traffic on the first free port it<br \/># finds starting at 9200. Set a specific HTTP port here:<br \/>#<br \/>http.port: 9200<br \/>#<br \/># For more information, consult the network module documentation.<br \/>#<br \/># --------------------------------- Discovery ----------------------------------<br \/>#<br \/># Pass an initial list of hosts to perform discovery when this node is started:<br \/># The default list of hosts is [\"127.0.0.1\", \"[::1]\"]<br \/>#<br \/>discovery.seed_hosts: [\"node111\", \"node112\", \"node113\", \"node114\", \"node115\"]<br \/>#<br \/># Bootstrap the cluster using an initial set of master-eligible nodes:<br \/>#<br \/>cluster.initial_master_nodes: [\"es111\", \"es112\", \"es113\", \"es114\", \"es115\"]<br \/>#<br \/># For more information, consult the discovery and cluster formation module documentation.<br \/>#<br \/># ---------------------------------- Various -----------------------------------<br \/>#<br \/># Allow wildcard deletion of indices:<br \/>#<br \/>#action.destructive_requires_name: false<\/p>\n\n\n\n<p>#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------<br \/>#<br \/># The following settings, TLS certificates, and keys have been automatically &nbsp; &nbsp; &nbsp;<br \/># generated to configure Elasticsearch security features on 24-04-2023 07:30:33<br \/>#<br \/># --------------------------------------------------------------------------------<\/p>\n\n\n\n<p># Enable security features<br \/>xpack.security.enabled: false<\/p>\n\n\n\n<p>xpack.security.enrollment.enabled: true<\/p>\n\n\n\n<p># Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents<br \/>xpack.security.http.ssl:<br \/>&nbsp; enabled: false<br \/>&nbsp; keystore.path: certs\/http.p12<\/p>\n\n\n\n<p># Enable encryption and mutual authentication between cluster nodes<br \/>xpack.security.transport.ssl:<br \/>&nbsp; enabled: true<br \/>&nbsp; verification_mode: certificate<br \/>&nbsp; keystore.path: certs\/transport.p12<br \/>&nbsp; truststore.path: certs\/transport.p12<br \/>#----------------------- END SECURITY AUTO CONFIGURATION -------------------------<\/p>\n<\/blockquote>\n\n\n\n<p>\u76ee\u524d\u5bf9\u5b89\u5168\u9a8c\u8bc1\u7b49\u914d\u7f6e\u90fd\u5df2\u6ce8\u91ca\u6389\uff0c\u540e\u7eed\u62bd\u7a7a\u518d\u7814\u7a76\u3002\u53e6\u5916\u5982\u679c\u96c6\u7fa4\u8282\u70b9\u53ea\u5269\u4e0b\u4e00\u4e2a\uff0c\u542f\u52a8\u8282\u70b9\u540e\u96c6\u7fa4\u4e00\u76f4\u5904\u4e8e\u5f02\u5e38\u72b6\u6001\uff0c\u65e0\u6cd5\u81ea\u52a8\u6062\u590d\u3002<\/p>\n\n\n\n<p><img loading=\"lazy\" decoding=\"async\" height=\"119\" width=\"449\" src=\"\/\/images.weserv.nl\/?url=https:\/\/img-blog.csdnimg.cn\/562fb421b2fb4cca8f9bcab38ebbf234.png\" alt=\"\"\/><\/p>\n\n\n\n<p>&nbsp;Good Luck\uff01 \u200b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u200b\u597d\u4e45\u6ca1\u7528 Elasticsearch \u96c6\u7fa4\u4e86\uff0c\u53c2\u8003\u4ee5\u524d\u5199\u7684\u300a\u5927\u6570\u636e\u5b66\u4e60\u521d\u7ea7\u5165\u95e8\u6559\u7a0b\uff08\u516b\uff09 \u2014\u2014 Elasti [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[804],"tags":[692,693,770,877,183,214,199],"class_list":["post-5329","post","type-post","status-publish","format-standard","hentry","category-es","tag-elasticsearch","tag-es","tag-770","tag-877","tag-183","tag-214","tag-199"],"_links":{"self":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5329"}],"version-history":[{"count":1,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5329\/revisions"}],"predecessor-version":[{"id":5330,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/5329\/revisions\/5330"}],"wp:attachment":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5329"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}