{"id":40883,"date":"2023-07-28T06:10:44","date_gmt":"2024-01-28T07:15:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/"},"modified":"2024-04-30T15:42:55","modified_gmt":"2024-04-30T07:42:55","slug":"elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/","title":{"rendered":"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5"},"content":{"rendered":"<h2>\u7b80\u8981\u6458\u8981<\/h2>\n<p>\u4ee5\u4e0b\u662fElasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002<\/p>\n<h2>\u73af\u5883<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS 7.2<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">elasticsearch 5.6.3-1<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">openjdk version &#8220;1.8.0_144&#8221;<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">OpenJDK Runtime Environment (build 1.8.0_144-b01)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)<\/ul>\n<h1>\u5b89\u88c5\u6b65\u9aa4<\/h1>\n<h2>\u5b89\u88c5Java<\/h2>\n<p>\u8bf7\u53c2\u8003\u4ee5\u4e0b\u5185\u5bb9\u5728CentOS 7\u4e0a\u5b89\u88c5Java OpenJDK 8\u3002<\/p>\n<h2>\u5b89\u88c5Elasticsearch<\/h2>\n<h3>\u6dfb\u52a0\u5230\u4ed3\u5e93<\/h3>\n<pre class=\"post-pre\"><code>$ sudo vi \/etc\/yum.repos.d\/elasticsearch.repo\r\n\r\n[elasticsearch-5.x]\r\nname=Elasticsearch repository for 5.x packages\r\nbaseurl=https:\/\/artifacts.elastic.co\/packages\/5.x\/yum\r\ngpgcheck=1\r\ngpgkey=https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch\r\nenabled=1\r\nautorefresh=1\r\ntype=rpm-md\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5<\/h3>\n<pre class=\"post-pre\"><code>$ sudo yum -y install elasticsearch \r\n<\/code><\/pre>\n<h3>\u81ea\u542f\u52a8\u8bbe\u7f6e<\/h3>\n<pre class=\"post-pre\"><code>$ sudo systemctl start elasticsearch\r\n$ sudo systemctl enable elasticsearch \r\n<\/code><\/pre>\n<h3>\u66f4\u6539\u8bb0\u5fc6\u8bbe\u7f6e<\/h3>\n<p>Elasticsearch\u7684\u9ed8\u8ba4\u5185\u5b58\u9700\u6c42\u4e3a2GB\u3002<br \/>\n\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u4f7f\u7528AWS EC2\u5b9e\u4f8b\u7c7b\u578bt2.micro\uff0c\u5219\u53ea\u67091GB\u5185\u5b58\u53ef\u7528\u3002<br \/>\n\u56e0\u6b64\uff0c\u60a8\u9700\u8981\u5c06\u5185\u5b58\u4f7f\u7528\u91cf\u8c03\u6574\u4e3a\u66f4\u4f4e\u7684\u8bbe\u7f6e\u3002<br \/>\n\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u5176\u66f4\u6539\u4e3a512MB\u3002<br \/>\n\u53c2\u8003\uff1ahttps:\/\/qiita.com\/tjinjin\/items\/7ea3ebd228748f9d5224<\/p>\n<pre class=\"post-pre\"><code><span class=\"err\">$<\/span> sudo vi \/etc\/elasticsearch\/jvm.options\r\n\r\n# Xms represents the initial size of total heap space\r\n<span class=\"err\">#<\/span> Xmx represents the maximum size of total heap space\r\n\r\n--Xms2g\r\n<span class=\"gd\">--Xmx2g\r\n<\/span><span class=\"gi\">+-Xms512m\r\n+-Xmx512m\r\n<\/span><\/code><\/pre>\n<p>\u4e00\u65e6\u66f4\u6539\u8bbe\u7f6e\uff0c\u5c06\u91cd\u65b0\u542f\u52a8elasticsearch\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo systemctl restart elasticsearch\r\n<\/code><\/pre>\n<p>\u8bf7\u786e\u8ba4\u662f\u5426\u5904\u4e8e\u6d3b\u52a8\u72b6\u6001\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo systemctl status elasticsearch\r\n  elasticsearch.service - Elasticsearch\r\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/elasticsearch.service; enabled; vendor preset: disabled)\r\n   Active: active (running) since Fri 2017-10-13 05:34:09 UTC; 6min ago\r\n<\/code><\/pre>\n<h3>\u786e\u4fdd\u52a8\u4f5c\u6b63\u786e<\/h3>\n<pre class=\"post-pre\"><code>$ curl http:\/\/127.0.0.1:9200\r\n{\r\n  \"name\" : \"BEgoRLj\",\r\n  \"cluster_name\" : \"elasticsearch\",\r\n  \"cluster_uuid\" : \"mTb6VzKURV2jjjtqiEPhYg\",\r\n  \"version\" : {\r\n    \"number\" : \"5.6.3\",\r\n    \"build_hash\" : \"1a2f265\",\r\n    \"build_date\" : \"2017-10-06T20:33:39.012Z\",\r\n    \"build_snapshot\" : false,\r\n    \"lucene_version\" : \"6.6.1\"\r\n  },\r\n  \"tagline\" : \"You Know, for Search\"\r\n}\r\n<\/code><\/pre>\n<h3>\u4f7f\u5f97\u80fd\u591f\u8fd0\u7528\u65e5\u8bed<\/h3>\n<p>\u8fdb\u884c\u5b89\u88c5\u5206\u6790-kuromoji\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install analysis-kuromoji\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u5b89\u88c5<\/p>\n<pre class=\"post-pre\"><code>$ sudo \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin list | grep analysis-kuromoji\r\nanalysis-kuromoji\r\n<\/code><\/pre>\n<h1>\u7b80\u6613\u4f7f\u7528\u6cd5<\/h1>\n<h2>\u521b\u5efa\u7d22\u5f15<\/h2>\n<p>\u7d22\u5f15\u662f\u6307\u5728\u5173\u7cfb\u578b\u6570\u636e\u5e93\uff08RDB\uff09\u4e2d\u7684\u8868\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl -X PUT \"http:\/\/127.0.0.1:9200\/sample_index\"\r\n\r\n{\"acknowledged\":true,\"shards_acknowledged\":true,\"index\":\"sample_index\"}\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u76ee\u5f55\u5217\u8868<\/h3>\n<p>RDB: \u663e\u793a\u6240\u6709\u8868\u683c;<\/p>\n<pre class=\"post-pre\"><code>$ curl http:\/\/127.0.0.1:9200\/_aliases?pretty\r\n\r\n{\r\n  \"sample_index\" : {\r\n    \"aliases\" : { }\r\n  }\r\n}\r\n<\/code><\/pre>\n<h3>\u67e5\u770b\u5df2\u521b\u5efa\u7684sample_index\u7684\u8be6\u7ec6\u4fe1\u606f<\/h3>\n<pre class=\"post-pre\"><code>$ curl http:\/\/127.0.0.1:9200\/sample_index\/_settings?pretty\r\n\r\n{\r\n  \"sample_index\" : {\r\n    \"settings\" : {\r\n      \"index\" : {\r\n        \"creation_date\" : \"1507788470720\",\r\n        \"number_of_shards\" : \"5\",\r\n        \"number_of_replicas\" : \"1\",\r\n        \"uuid\" : \"DQV3vNdWQVGOHA2xXDi9lQ\",\r\n        \"version\" : {\r\n          \"created\" : \"5060399\"\r\n        },\r\n        \"provided_name\" : \"sample_index\"\r\n      }\r\n    }\r\n  }\r\n}\r\n<\/code><\/pre>\n<h2>\u521b\u5efa\u5730\u56fe<\/h2>\n<p>\u6620\u5c04\u662f\u6307\u7d22\u5f15\u7684\u7ed3\u6784\u3002<br \/>\n\u5982\u679c\u8f93\u5165\u6570\u636e\uff0c\u5219\u4f1a\u81ea\u52a8\u521b\u5efa\u6620\u5c04\uff0c\u4f46\u4e5f\u53ef\u4ee5\u4e8b\u5148\u624b\u52a8\u5b9a\u4e49\u3002<\/p>\n<h3>\u8f93\u5165\u6570\u636e<\/h3>\n<p>\u6211\u5c1d\u8bd5\u8f93\u5165\u6570\u636e\u3002<\/p>\n<p>RDB: \u5411sample_index\u8868\u63d2\u5165\u6570\u636e\uff0c\u5b57\u6bb5\u5305\u62ec\u6807\u9898(title)\uff0c\u63cf\u8ff0(description)\uff0c\u6570\u91cf(amount)\uff0c\u503c\u4e3a(&#8220;\u6837\u672c1\u53f7&#8221;\uff0c&#8221;\u8fd9\u662f\u4e00\u6761\u6837\u672c\u6570\u636e&#8221;\uff0c20)\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl -X PUT \"http:\/\/127.0.0.1:9200\/sample_index\/doc01\/1\" -d '{\r\n    \"title\" : \"Sample No.1\",\r\n    \"description\" : \"This is a sample data\",\r\n    \"amount\" : 20\r\n}'\r\n\r\n{\"_index\":\"sample_index\",\"_type\":\"doc01\",\"_id\":\"1\",\"_version\":1,\"result\":\"created\",\"_shards\":{\"total\":2,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u5730\u56fe\u6620\u5c04<\/h3>\n<p>\u901a\u8fc7\u6570\u636e\u8f93\u5165\uff0c\u786e\u8ba4\u5730\u56fe\u521b\u5efa\u5b8c\u6210\u3002<\/p>\n<p>RDB: \u63cf\u8ff0sample_index\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl \"http:\/\/127.0.0.1:9200\/sample_index\/_mapping\/doc01?pretty\"\r\n\r\n{\r\n  \"sample_index\" : {\r\n    \"mappings\" : {\r\n      \"doc01\" : {\r\n        \"properties\" : {\r\n          \"amount\" : {\r\n            \"type\" : \"long\"\r\n          },\r\n          \"description\" : {\r\n            \"type\" : \"text\",\r\n            \"fields\" : {\r\n              \"keyword\" : {\r\n                \"type\" : \"keyword\",\r\n                \"ignore_above\" : 256\r\n              }\r\n            }\r\n          },\r\n          \"title\" : {\r\n            \"type\" : \"text\",\r\n            \"fields\" : {\r\n              \"keyword\" : {\r\n                \"type\" : \"keyword\",\r\n                \"ignore_above\" : 256\r\n              }\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n<\/code><\/pre>\n<h3>\u786e\u8ba4\u6570\u636e<\/h3>\n<p>\u786e\u8ba4\u6570\u636e\u5df2\u7ecf\u88ab\u8f93\u5165\u3002<\/p>\n<p>RDB\uff1a\u4ecesample_index\u8868\u4e2d\u9009\u62e9\u6240\u6709\u6570\u636e\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl \"http:\/\/127.0.0.1:9200\/sample_index\/doc01\/1?pretty\"\r\n\r\n{\r\n  \"_index\" : \"sample_index\",\r\n  \"_type\" : \"doc01\",\r\n  \"_id\" : \"1\",\r\n  \"_version\" : 1,\r\n  \"found\" : true,\r\n  \"_source\" : {\r\n    \"title\" : \"Sample No.1\",\r\n    \"description\" : \"This is a sample data\",\r\n    \"amount\" : 20\r\n  }\r\n}\r\n<\/code><\/pre>\n<h2>\u641c\u7d22\u6570\u636e<\/h2>\n<p>\u6211\u5c06\u5c1d\u8bd5\u641c\u7d22\u5df2\u6295\u5165\u6570\u636e\u4e2d\u7684\u8bb0\u5f55\u3002\u6211\u5c06\u641c\u7d22\u542b\u6709\u201csample\u201d\u5185\u5bb9\u7684description\u3002<\/p>\n<p>\u5728\u9009\u62e9`sample_index`\u8868\u4e2d\uff0c\u5982\u67e5\u627e\u5230`description`\u5b57\u6bb5\u4e2d\u5305\u542b&#8221;sample&#8221;\u7684\u6240\u6709\u8bb0\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl \"http:\/\/127.0.0.1:9200\/sample_index\/doc01\/_search?q=description:sample&amp;pretty=true\"\r\n\r\n{\r\n  \"took\" : 16,\r\n  \"timed_out\" : false,\r\n  \"_shards\" : {\r\n    \"total\" : 5,\r\n    \"successful\" : 5,\r\n    \"skipped\" : 0,\r\n    \"failed\" : 0\r\n  },\r\n  \"hits\" : {\r\n    \"total\" : 1,\r\n    \"max_score\" : 0.2824934,\r\n    \"hits\" : [\r\n      {\r\n        \"_index\" : \"sample_index\",\r\n        \"_type\" : \"doc01\",\r\n        \"_id\" : \"1\",\r\n        \"_score\" : 0.2824934,\r\n        \"_source\" : {\r\n          \"title\" : \"Sample No.1\",\r\n          \"description\" : \"This is a sample data\",\r\n          \"amount\" : 20\r\n        }\r\n      }\r\n    ]\r\n  }\r\n}\r\n<\/code><\/pre>\n<h2>\u8bf7\u4e0b\u5217\u63d0\u4f9b\u7684\u5185\u5bb9\u8fdb\u884c\u672c\u5730\u5316\u7ffb\u8bd1\u6210\u4e2d\u6587\uff0c\u53ea\u9700\u8981\u4e00\u79cd\u9009\u62e9\u5373\u53ef\uff1a<\/h2>\n<p>Reference.<\/p>\n<ul class=\"post-ul\">Elastic Stack : Elasticsearch \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u8981\u6458\u8981 \u4ee5\u4e0b\u662fElasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002 \u73af\u5883 CentOS 7.2 &nbsp; e [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40883","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u7b80\u8981\u6458\u8981 \u4ee5\u4e0b\u662fElasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002 \u73af\u5883 CentOS 7.2 &nbsp; e [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-28T07:15:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T07:42:55+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/\",\"name\":\"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-01-28T07:15:46+00:00\",\"dateModified\":\"2024-04-30T07:42:55+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5","og_description":"\u7b80\u8981\u6458\u8981 \u4ee5\u4e0b\u662fElasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002 \u73af\u5883 CentOS 7.2 &nbsp; e [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-01-28T07:15:46+00:00","article_modified_time":"2024-04-30T07:42:55+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/","name":"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-01-28T07:15:46+00:00","dateModified":"2024-04-30T07:42:55+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Elasticsearch\u7684\u5b89\u88c5\u6b65\u9aa4\u548c\u7b80\u5355\u7528\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e7%9a%84%e5%ae%89%e8%a3%85%e6%ad%a5%e9%aa%a4%e5%92%8c%e7%ae%80%e5%8d%95%e7%94%a8%e6%b3%95%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40883"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40883\/revisions"}],"predecessor-version":[{"id":92795,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40883\/revisions\/92795"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}