{"id":23148,"date":"2024-11-21T11:09:56","date_gmt":"2024-11-21T03:09:56","guid":{"rendered":"https:\/\/aif.amtbbs.org\/?p=23148"},"modified":"2024-11-21T11:09:56","modified_gmt":"2024-11-21T03:09:56","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8elasticsearch%e4%bc%98%e5%8c%96%e5%90%91%e9%87%8f%e6%90%9c%e7%b4%a2%e6%80%a7%e8%83%bd-2","status":"publish","type":"post","link":"https:\/\/aif.amtbbs.org\/index.php\/2024\/11\/21\/23148\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528Elasticsearch\u4f18\u5316\u5411\u91cf\u641c\u7d22\u6027\u80fd"},"content":{"rendered":"<div class=\"article-desc\">\u672c\u6587\u63a2\u8ba8\u4e86\u4f7f\u7528Elasticsearch\u8fdb\u884c\u5411\u91cf\u641c\u7d22\u7684\u590d\u6742\u6027\uff0c\u91cd\u70b9\u4ecb\u7ecd\u4e86\u4f18\u5316\u6027\u80fd\u7684\u6709\u6548\u6280\u672f\u548c\u6700\u4f73\u5b9e\u8df5\u3002\u901a\u8fc7\u964d\u4f4e\u5411\u91cf\u7ef4\u5ea6\u3001\u9ad8\u6548\u7d22\u5f15\u548c\u81ea\u52a8\u53c2\u6570\u8c03\u4f18\u6765\u4f18\u5316Elasticsearch\u4e2d\u7684\u5411\u91cf\u641c\u7d22\uff0c\u4ece\u800c\u83b7\u5f97\u66f4\u5feb\u3001\u66f4\u51c6\u786e\u7684\u7ed3\u679c\u3002<\/div>\n<div id=\"postspictures\" class=\"article-content\">\n<div id=\"container\" class=\"container am-engine\" data-v-1d7a5742=\"\" data-element=\"root\">\n<p>\u5728\u5f53\u4eca\u6570\u636e\u751f\u6210\u91cf\u5448\u6307\u6570\u7ea7\u589e\u957f\u7684\u65f6\u4ee3\uff0c\u7ec4\u7ec7\u5fc5\u987b\u6709\u6548\u5730\u5229\u7528\u8fd9\u4e9b\u4e30\u5bcc\u7684\u4fe1\u606f\u6765\u4fdd\u6301\u5176\u7ade\u4e89\u4f18\u52bf\u3002\u6709\u6548\u5730\u641c\u7d22\u548c\u5206\u6790\u5ba2\u6237\u6570\u636e\uff08\u4f8b\u5982\u786e\u5b9a\u7528\u6237\u5bf9\u7535\u5f71\u63a8\u8350\u6216\u60c5\u611f\u5206\u6790\u7684\u504f\u597d\uff09\uff0c\u5728\u63a8\u52a8\u660e\u667a\u51b3\u7b56\u548c\u589e\u5f3a\u7528\u6237\u4f53\u9a8c\u65b9\u9762\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002\u4f8b\u5982\uff0c\u6d41\u5a92\u4f53\u670d\u52a1\u53ef\u4ee5\u91c7\u7528\u5411\u91cf\u641c\u7d22\u6765\u63a8\u8350\u9002\u5408\u4e2a\u4eba\u89c2\u770b\u5386\u53f2\u548c\u6536\u89c6\u7387\u7684\u7535\u5f71\uff0c\u800c\u96f6\u552e\u5546\u53ef\u4ee5\u5206\u6790\u5ba2\u6237\u60c5\u7eea\u6765\u5fae\u8c03\u8425\u9500\u7b56\u7565\u3002<\/p>\n<p><img data-dominant-color=\"334f6b\" data-has-transparency=\"false\" style=\"--dominant-color: #334f6b;\" loading=\"lazy\" decoding=\"async\" class=\"not-transparent alignnone size-full wp-image-23152\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/a6ddbfeb-ea68-45f6-9264-ec16ed782f12-300x200-1.png\" width=\"300\" height=\"200\" alt=\"\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/a6ddbfeb-ea68-45f6-9264-ec16ed782f12-300x200-1.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/a6ddbfeb-ea68-45f6-9264-ec16ed782f12-300x200-1-150x100.png 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>\u5bf9\u4e8e\u6570\u636e\u5de5\u7a0b\u5e08\u6765\u8bf4\uff0c\u4ed6\u4eec\u7684\u4efb\u52a1\u662f\u5b9e\u65bd\u8fd9\u4e9b\u590d\u6742\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u786e\u4fdd\u7ec4\u7ec7\u53ef\u4ee5\u4ece\u5e9e\u5927\u7684\u6570\u636e\u96c6\u4e2d\u83b7\u5f97\u53ef\u64cd\u4f5c\u7684\u89c1\u89e3\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u4f7f\u7528Elasticsearch\u8fdb\u884c\u5411\u91cf\u641c\u7d22\u7684\u590d\u6742\u6027\uff0c\u91cd\u70b9\u4ecb\u7ecd\u4e86\u4f18\u5316\u6027\u80fd\u7684\u6709\u6548\u6280\u672f\u548c\u6700\u4f73\u5b9e\u8df5\u3002\u901a\u8fc7\u5bf9\u4e2a\u6027\u5316\u8425\u9500\u7684\u56fe\u50cf\u68c0\u7d22\u548c\u5ba2\u6237\u60c5\u611f\u805a\u7c7b\u7684\u6587\u672c\u5206\u6790\u6848\u4f8b\u7684\u7814\u7a76\uff0c\u5c55\u793a\u4e86\u4f18\u5316\u5411\u91cf\u641c\u7d22\u5982\u4f55\u5bfc\u81f4\u6539\u8fdb\u7684\u5ba2\u6237\u4ea4\u4e92\u548c\u663e\u8457\u7684\u4e1a\u52a1\u589e\u957f\u3002<\/p>\n<h3>\u4ec0\u4e48\u662f\u5411\u91cf\u641c\u7d22\uff1f<\/h3>\n<p>\u5411\u91cf\u641c\u7d22\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u65b9\u6cd5\uff0c\u901a\u8fc7\u5c06\u6570\u636e\u70b9\u8868\u793a\u4e3a\u9ad8\u7ef4\u7a7a\u95f4\u4e2d\u7684\u5411\u91cf\u6765\u8bc6\u522b\u6570\u636e\u70b9\u4e4b\u95f4\u7684\u76f8\u4f3c\u6027\u3002\u8fd9\u79cd\u65b9\u6cd5\u5bf9\u4e8e\u9700\u8981\u6839\u636e\u5c5e\u6027\u5feb\u901f\u68c0\u7d22\u76f8\u4f3c\u9879\u7684\u5e94\u7528\u7a0b\u5e8f\u7279\u522b\u6709\u7528\u3002<\/p>\n<h4>\u5411\u91cf\u641c\u7d22\u56fe\u89e3<\/h4>\n<p>\u8003\u8651\u4e0b\u56fe\uff0c\u5b83\u63cf\u8ff0\u4e86\u5411\u91cf\u8868\u793a\u5982\u4f55\u5b9e\u73b0\u76f8\u4f3c\u6027\u641c\u7d22\uff1a<\/p>\n<p><img data-dominant-color=\"fbfafa\" data-has-transparency=\"true\" style=\"--dominant-color: #fbfafa;\" loading=\"lazy\" decoding=\"async\" class=\"has-transparency alignnone size-full wp-image-23153\" src=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/78f9b1803cdf-300x218-1.png\" width=\"300\" height=\"218\" alt=\"\" srcset=\"https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/78f9b1803cdf-300x218-1.png 300w, https:\/\/aiforumimage.oss-cn-shanghai.aliyuncs.com\/wp-content\/uploads\/2024\/11\/78f9b1803cdf-300x218-1-150x109.png 150w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<ul data-id=\"u738a58b-e6WAj9U2\">\n<li data-id=\"ld70c578-4VYFlAem\">\u67e5\u8be2\u5d4c\u5165\uff1a\u67e5\u8be2\u201c\u6709\u54ea\u4e9b\u597d\u770b\u7684\u79d1\u5e7b\u7535\u5f71\uff1f\u201d\u88ab\u8f6c\u6362\u6210\u5411\u91cf\u8868\u793a\uff0c\u4f8b\u5982[0.1,0.2\uff0c\u2026], 0.4]\u3002<\/li>\n<li data-id=\"ld70c578-3GfX0ZBC\">\u7d22\u5f15\uff1a\u5c06\u8fd9\u4e2a\u5411\u91cf\u4e0e\u5b58\u50a8\u5728Elasticsearch\u4e2d\u7684\u9884\u7d22\u5f15\u5411\u91cf\uff08\u4f8b\u5982\uff0c\u6765\u81eaAppA\u548cAppB\u7b49\u5e94\u7528\u7a0b\u5e8f\uff09\u8fdb\u884c\u6bd4\u8f83\uff0c\u4ee5\u67e5\u627e\u7c7b\u4f3c\u7684\u67e5\u8be2\u6216\u6570\u636e\u70b9\u3002<\/li>\n<li data-id=\"ld70c578-Rf5hDh6Y\">k-NN\u641c\u7d22\uff1a\u4f7f\u7528k-\u8fd1\u90bb\uff08k-NN\uff09\u7b49\u7b97\u6cd5\uff0cElasticsearch\u53ef\u4ee5\u6709\u6548\u5730\u4ece\u7d22\u5f15\u5411\u91cf\u4e2d\u68c0\u7d22\u6700\u5339\u914d\u7684\u5185\u5bb9\uff0c\u5e2e\u52a9\u5feb\u901f\u8bc6\u522b\u6700\u76f8\u5173\u7684\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u673a\u5236\u4f7fElasticsearch\u5728\u63a8\u8350\u7cfb\u7edf\u3001\u56fe\u50cf\u641c\u7d22\u548c\u81ea\u7136\u8bed\u8a00\u5904\u7406\u7b49\u7528\u4f8b\u4e2d\u8868\u73b0\u51fa\u8272\uff0c\u5728\u8fd9\u4e9b\u7528\u4f8b\u4e2d\uff0c\u7406\u89e3\u573a\u666f\u548c\u76f8\u4f3c\u6027\u662f\u5173\u952e\u3002<\/p>\n<h4>\u4f7f\u7528Elasticsearch\u8fdb\u884c\u5411\u91cf\u641c\u7d22\u7684\u5173\u952e\u4f18\u52bf<\/h4>\n<p>\uff081\uff09\u9ad8\u7ef4\u652f\u6301<\/p>\n<p>Elasticsearch\u64c5\u957f\u7ba1\u7406\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\uff0c\u8fd9\u5bf9\u4eba\u5de5\u667a\u80fd\u548c\u673a\u5668\u5b66\u4e60\u5e94\u7528\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\u3002\u5728\u5904\u7406\u591a\u65b9\u9762\u6570\u636e\u7c7b\u578b\uff08\u5982\u56fe\u50cf\u6216\u6587\u672c\u6570\u636e\uff09\u65f6\uff0c\u8fd9\u79cd\u80fd\u529b\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p>\uff082\uff09\u53ef\u6269\u5c55\u6027<\/p>\n<p>\u5176\u67b6\u6784\u652f\u6301\u6c34\u5e73\u6269\u5c55\uff0c\u4f7f\u7ec4\u7ec7\u80fd\u591f\u5728\u4e0d\u964d\u4f4e\u6027\u80fd\u7684\u60c5\u51b5\u4e0b\u5904\u7406\u4e0d\u65ad\u6269\u5c55\u7684\u6570\u636e\u96c6\u3002\u968f\u7740\u6570\u636e\u91cf\u7684\u6301\u7eed\u589e\u957f\u3002<\/p>\n<p>\uff083\uff09\u6574\u5408<\/p>\n<p>Elasticsearch\u4e0eElastic\u5806\u6808\u65e0\u7f1d\u534f\u4f5c\uff0c\u4e3a\u6570\u636e\u6444\u53d6\u3001\u5206\u6790\u548c\u53ef\u89c6\u5316\u63d0\u4f9b\u4e86\u5168\u9762\u7684\u89e3\u51b3\u65b9\u6848\u3002\u8fd9\u79cd\u6574\u5408\u786e\u4fdd\u6570\u636e\u5de5\u7a0b\u5e08\u53ef\u4ee5\u5229\u7528\u7edf\u4e00\u7684\u5e73\u53f0\u6765\u5904\u7406\u5404\u79cd\u6570\u636e\u5904\u7406\u4efb\u52a1\u3002<\/p>\n<h3>\u4f18\u5316\u5411\u91cf\u641c\u7d22\u6027\u80fd\u7684\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>1.\u964d\u4f4e\u5411\u91cf\u7ef4\u5ea6<\/h4>\n<p>\u964d\u4f4e\u5411\u91cf\u7ef4\u5ea6\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u641c\u7d22\u6027\u80fd\u3002\u50cfPCA\uff08\u4e3b\u6210\u5206\u5206\u6790\uff09\u6216UMAP\uff08\u7edf\u4e00\u6d41\u5f62\u903c\u8fd1\u548c\u6295\u5f71\uff09\u8fd9\u6837\u7684\u6280\u672f\u6709\u52a9\u4e8e\u5728\u7b80\u5316\u6570\u636e\u7ed3\u6784\u7684\u540c\u65f6\u4fdd\u6301\u57fa\u672c\u7279\u5f81\u3002<\/p>\n<p>\u793a\u4f8b\uff1a\u4f7f\u7528PCA\u8fdb\u884c\u964d\u7ef4<\/p>\n<p>\u4ee5\u4e0b\u662f\u5982\u4f55\u4f7f\u7528Scikit-learn\u5728Python\u4e2d\u5b9e\u73b0PCA\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_0\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">Python \r\n from sklearn.decomposition import PCA\r\n import numpy as np\r\n\r\n # Sample high-dimensional data\r\n data = np.random.rand(1000, 50) # 1000 samples, 50 features\r\n\r\n # Apply PCA to reduce to 10 dimensions\r\n pca = PCA(n_compnotallow=10)\r\n reduced_data = pca.fit_transform(data)\r\n\r\n print(reduced_data.shape) # Output: (1000, 10)<\/code><\/pre>\n<ul id=\"code_id_0\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>2.\u6709\u6548\u6307\u6570<\/h4>\n<p>\u5229\u7528\u8fd1\u4f3c\u6700\u8fd1\u90bb\uff08ANN\uff09\u7b97\u6cd5\u53ef\u4ee5\u663e\u8457\u52a0\u5feb\u641c\u7d22\u65f6\u95f4\u3002\u8003\u8651\u4f7f\u7528\uff1a<\/p>\n<ul data-id=\"u738a58b-31md071I\">\n<li data-id=\"ld70c578-pkN4RSgU\">HNSW\uff08\u5206\u5c42\u53ef\u5bfc\u822a\u5c0f\u4e16\u754c\uff09\uff1a\u4ee5\u5176\u6027\u80fd\u548c\u51c6\u786e\u6027\u7684\u5e73\u8861\u800c\u95fb\u540d\u3002<\/li>\n<li data-id=\"ld70c578-njjE2RVS\">FAISS (Facebook AI\u76f8\u4f3c\u5ea6\u641c\u7d22\uff09\uff1a\u9488\u5bf9\u5927\u578b\u6570\u636e\u96c6\u8fdb\u884c\u4e86\u4f18\u5316\uff0c\u5e76\u80fd\u591f\u5229\u7528GPU\u52a0\u901f\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b\uff1a\u5728Elasticsearch\u4e2d\u5b9e\u73b0HNSW<\/p>\n<p>\u53ef\u4ee5\u5728Elasticsearch\u4e2d\u5b9a\u4e49\u7d22\u5f15\u8bbe\u7f6e\u6765\u5229\u7528HNSW\uff0c\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_1\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">JSON \r\n PUT \/my_vector_index\r\n {\r\n \"settings\": {\r\n \"index\": {\r\n \"knn\": true,\r\n \"knn.space_type\": \"l2\",\r\n \"knn.algo\": \"hnsw\"\r\n }\r\n },\r\n \"mappings\": {\r\n \"properties\": {\r\n \"my_vector\": {\r\n \"type\": \"knn_vector\",\r\n \"dimension\": 10 \/\/ Adjust based on your data\r\n }\r\n }\r\n }\r\n }<\/code><\/pre>\n<ul id=\"code_id_1\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>3.\u6279\u91cf\u67e5\u8be2<\/h4>\n<p>\u4e3a\u4e86\u63d0\u9ad8\u6548\u7387\uff0c\u5728\u5355\u4e2a\u8bf7\u6c42\u4e2d\u6279\u91cf\u5904\u7406\u591a\u4e2a\u67e5\u8be2\u53ef\u4ee5\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u5f00\u9500\u3002\u8fd9\u5bf9\u4e8e\u5177\u6709\u9ad8\u7528\u6237\u6d41\u91cf\u7684\u5e94\u7528\u7a0b\u5e8f\u7279\u522b\u6709\u7528\u3002<\/p>\n<p>\u793a\u4f8b\uff1aElasticsearch\u4e2d\u7684\u6279\u4e2d\u5904\u7406<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528_msearch\u7aef\u70b9\u8fdb\u884c\u6279\u91cf\u67e5\u8be2\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_2\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">JSON \r\n POST \/_msearch\r\n { \"index\": \"my_vector_index\" }\r\n { \"query\": { \"match_all\": {} } }\r\n { \"index\": \"my_vector_index\" }\r\n { \"query\": { \"match\": { \"category\": \"sci-fi\" } } }<\/code><\/pre>\n<ul id=\"code_id_2\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>4.\u4f7f\u7528\u7f13\u5b58<\/h4>\n<p>\u4e3a\u9891\u7e41\u8bbf\u95ee\u7684\u67e5\u8be2\u5b9e\u73b0\u7f13\u5b58\u7b56\u7565\uff0c\u4ee5\u51cf\u5c11\u8ba1\u7b97\u8d1f\u8f7d\u5e76\u7f29\u77ed\u54cd\u5e94\u65f6\u95f4\u3002<\/p>\n<h4>5.\u76d1\u63a7\u6027\u80fd<\/h4>\n<p>\u5b9a\u671f\u5206\u6790\u6027\u80fd\u6307\u6807\u5bf9\u4e8e\u8bc6\u522b\u74f6\u9888\u81f3\u5173\u91cd\u8981\u3002\u50cfKibana\u8fd9\u6837\u7684\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u53ef\u89c6\u5316\u8fd9\u4e9b\u6570\u636e\uff0c\u4ece\u800c\u5bf9Elasticsearch\u914d\u7f6e\u8fdb\u884c\u660e\u667a\u7684\u8c03\u6574\u3002<\/p>\n<h3>\u8c03\u4f18HNSW\u4e2d\u7684\u53c2\u6570\u4ee5\u63d0\u9ad8\u6027\u80fd<\/h3>\n<p>\u4f18\u5316HNSW\u5305\u62ec\u8c03\u6574\u67d0\u4e9b\u53c2\u6570\uff0c\u4ee5\u5728\u5927\u578b\u6570\u636e\u96c6\u4e0a\u83b7\u5f97\u66f4\u597d\u7684\u6027\u80fd\uff1a<\/p>\n<ul data-id=\"u738a58b-amlA2D6d\">\n<li data-id=\"ld70c578-9G2Hne80\">M\uff08\u6700\u5927\u8fde\u63a5\u6570\uff09\uff1a\u589e\u52a0\u6b64\u503c\u53ef\u4ee5\u63d0\u9ad8\u53ec\u56de\u7387\uff0c\u4f46\u53ef\u80fd\u9700\u8981\u91c7\u7528\u66f4\u591a\u5185\u5b58\u3002<\/li>\n<li data-id=\"ld70c578-EW5VJKmg\">EfConstruction\uff08\u6784\u5efa\u8fc7\u7a0b\u4e2d\u7684\u52a8\u6001\u5217\u8868\u5927\u5c0f\uff09\uff1a\u6570\u503c\u8d8a\u5927\uff0c\u56fe\u5f62\u8d8a\u51c6\u786e\uff0c\u4f46\u4f1a\u589e\u52a0\u7d22\u5f15\u65f6\u95f4\u3002<\/li>\n<li data-id=\"ld70c578-e3tIoVUN\">EfSearch\uff08\u641c\u7d22\u8fc7\u7a0b\u4e2d\u7684\u52a8\u6001\u5217\u8868\u5927\u5c0f\uff09\uff1a\u8c03\u6574\u8fd9\u4e2a\u4f1a\u5f71\u54cd\u901f\u5ea6\u548c\u51c6\u786e\u6027\u7684\u6743\u8861\uff1b\u8f83\u5927\u7684\u503c\u83b7\u5f97\u66f4\u597d\u7684\u53ec\u56de\u7387\uff0c\u4f46\u9700\u8981\u66f4\u957f\u7684\u8ba1\u7b97\u65f6\u95f4\u3002<\/li>\n<\/ul>\n<h4>\u793a\u4f8b\uff1a\u8c03\u6574HNSW\u53c2\u6570<\/h4>\n<p>\u53ef\u4ee5\u50cf\u8fd9\u6837\u8c03\u6574\u7d22\u5f15\u521b\u5efa\u4e2d\u7684HNSW\u53c2\u6570\uff1a<\/p>\n<div>\n<div class=\"hljs-cto\">\n<div class=\"hljs-cto\"><button class=\"copy_btn disable\" data-clipboard-target=\"#code_id_3\">\u590d\u5236<\/button><\/p>\n<div class=\"code-toolbar\">\n<pre class=\"has-pre-numbering language-plain\" tabindex=\"0\"><code class=\"language-plain\">JSON \r\n PUT \/my_vector_index\r\n{\r\n \"settings\": {\r\n \"index\": {\r\n \"knn\": true,\r\n \"knn.algo\": \"hnsw\",\r\n \"knn.hnsw.m\": 16, \/\/ More connections\r\n \"knn.hnsw.ef_construction\": 200, \/\/ Higher accuracy\r\n \"knn.hnsw.ef_search\": 100 \/\/ Adjust for search accuracy\r\n }\r\n },\r\n \"mappings\": {\r\n \"properties\": {\r\n \"my_vector\": {\r\n \"type\": \"knn_vector\",\r\n \"dimension\": 10\r\n }\r\n }\r\n }\r\n}<\/code><\/pre>\n<ul id=\"code_id_3\" class=\"pre-numbering\">\n<li>1.<\/li>\n<li>2.<\/li>\n<li>3.<\/li>\n<li>4.<\/li>\n<li>5.<\/li>\n<li>6.<\/li>\n<li>7.<\/li>\n<li>8.<\/li>\n<li>9.<\/li>\n<li>10.<\/li>\n<li>11.<\/li>\n<li>12.<\/li>\n<li>13.<\/li>\n<li>14.<\/li>\n<li>15.<\/li>\n<li>16.<\/li>\n<li>17.<\/li>\n<li>18.<\/li>\n<li>19.<\/li>\n<li>20.<\/li>\n<li>21.<\/li>\n<\/ul>\n<div class=\"toolbar\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3>\u6848\u4f8b\u7814\u7a76\uff1a\u5ba2\u6237\u6570\u636e\u5e94\u7528\u4e2d\u964d\u7ef4\u5bf9HNSW\u6027\u80fd\u7684\u5f71\u54cd<\/h3>\n<h4>\u4e2a\u6027\u5316\u8425\u9500\u7684\u56fe\u50cf\u68c0\u7d22<\/h4>\n<p>\u5728\u5ba2\u6237\u6570\u636e\u5e94\u7528\u7684\u56fe\u50cf\u68c0\u7d22\u7cfb\u7edf\u4e2d\uff0c\u964d\u7ef4\u6280\u672f\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002\u5728\u4e00\u9879\u7814\u7a76\u4e2d\uff0c\u7814\u7a76\u4eba\u5458\u5e94\u7528\u4e3b\u6210\u5206\u5206\u6790\uff08PCA\uff09\u5728\u7528\u5206\u5c42\u53ef\u5bfc\u822a\u5c0f\u4e16\u754c\uff08HNSW\uff09\u7f51\u7edc\u5bf9\u56fe\u50cf\u8fdb\u884c\u7d22\u5f15\u4e4b\u524d\u8fdb\u884c\u964d\u7ef4\u3002PCA\u663e\u8457\u63d0\u9ad8\u4e86\u68c0\u7d22\u901f\u5ea6\uff0c\u8fd9\u5bf9\u4e8e\u5904\u7406\u5927\u91cf\u5ba2\u6237\u6570\u636e\u7684\u5e94\u7528\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\u2014\u2014\u5c3d\u7ba1\u8fd9\u662f\u4ee5\u4fe1\u606f\u51cf\u5c11\u5bfc\u81f4\u7684\u8f7b\u5fae\u7cbe\u5ea6\u635f\u5931\u4e3a\u4ee3\u4ef7\u7684\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u7814\u7a76\u4eba\u5458\u8fd8\u7814\u7a76\u4e86\u7edf\u4e00\u6d41\u5f62\u8fd1\u4f3c\u548c\u6295\u5f71\uff08UMAP\uff09\u4f5c\u4e3a\u66ff\u4ee3\u65b9\u6848\u3002UMAP\u66f4\u6709\u6548\u5730\u4fdd\u5b58\u4e86\u672c\u5730\u6570\u636e\u7ed3\u6784\uff0c\u4fdd\u7559\u4e86\u4e2a\u6027\u5316\u8425\u9500\u5efa\u8bae\u6240\u9700\u7684\u590d\u6742\u7ec6\u8282\u3002\u867d\u7136UMAP\u9700\u8981\u6bd4PCA\u66f4\u5927\u7684\u8ba1\u7b97\u80fd\u529b\uff0c\u4f46\u5b83\u5728\u641c\u7d22\u901f\u5ea6\u548c\u9ad8\u7cbe\u5ea6\u4e4b\u95f4\u53d6\u5f97\u4e86\u5e73\u8861\uff0c\u4f7f\u5176\u6210\u4e3a\u51c6\u786e\u6027\u5173\u952e\u4efb\u52a1\u7684\u53ef\u884c\u9009\u62e9\u3002<\/p>\n<h4>\u5ba2\u6237\u60c5\u611f\u805a\u7c7b\u7684\u6587\u672c\u5206\u6790<\/h4>\n<p>\u5728\u5ba2\u6237\u60c5\u7eea\u5206\u6790\u9886\u57df\uff0c\u53e6\u4e00\u9879\u7814\u7a76\u53d1\u73b0\uff0cUMAP\u5728\u805a\u7c7b\u76f8\u4f3c\u6587\u672c\u6570\u636e\u65b9\u9762\u4f18\u4e8ePCA\u3002UMAP\u5141\u8bb8HNSW\u6a21\u578b\u4ee5\u66f4\u9ad8\u7684\u51c6\u786e\u6027\u5bf9\u5ba2\u6237\u60c5\u7eea\u8fdb\u884c\u805a\u7c7b\uff0c\u8fd9\u5728\u7406\u89e3\u5ba2\u6237\u53cd\u9988\u548c\u63d0\u4f9b\u66f4\u4e2a\u6027\u5316\u7684\u54cd\u5e94\u65b9\u9762\u5177\u6709\u4f18\u52bf\u3002UMAP\u7684\u4f7f\u7528\u4f7fHNSW\u4e2d\u7684EfSearch\u503c\u66f4\u5c0f\uff0c\u63d0\u9ad8\u4e86\u641c\u7d22\u901f\u5ea6\u548c\u7cbe\u5ea6\u3002\u805a\u7c7b\u6548\u7387\u7684\u6539\u8fdb\u53ef\u4ee5\u66f4\u5feb\u5730\u8bc6\u522b\u76f8\u5173\u7684\u5ba2\u6237\u60c5\u7eea\uff0c\u589e\u5f3a\u6709\u9488\u5bf9\u6027\u7684\u8425\u9500\u5de5\u4f5c\u548c\u57fa\u4e8e\u60c5\u7eea\u7684\u5ba2\u6237\u7ec6\u5206\u3002<\/p>\n<h4>\u6574\u5408\u81ea\u52a8\u5316\u4f18\u5316\u6280\u672f<\/h4>\n<p>\u4f18\u5316\u964d\u7ef4\u548cHNSW\u53c2\u6570\u5bf9\u4e8e\u6700\u5927\u9650\u5ea6\u5730\u63d0\u9ad8\u5ba2\u6237\u6570\u636e\u7cfb\u7edf\u7684\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002\u81ea\u52a8\u5316\u4f18\u5316\u6280\u672f\u7b80\u5316\u4e86\u8fd9\u4e00\u8c03\u6574\u8fc7\u7a0b\uff0c\u786e\u4fdd\u6240\u9009\u914d\u7f6e\u5728\u5404\u79cd\u5e94\u7528\u7a0b\u5e8f\u4e2d\u90fd\u662f\u6709\u6548\u7684\uff1a<\/p>\n<ul data-id=\"u738a58b-Tl7fV7a9\">\n<li data-id=\"ld70c578-4H4PZ6SZ\">\u7f51\u683c\u548c\u968f\u673a\u641c\u7d22\uff1a\u8fd9\u4e9b\u65b9\u6cd5\u63d0\u4f9b\u4e86\u5e7f\u6cdb\u548c\u7cfb\u7edf\u7684\u53c2\u6570\u63a2\u7d22\uff0c\u6709\u6548\u5730\u8bc6\u522b\u5408\u9002\u7684\u914d\u7f6e\u3002<\/li>\n<li data-id=\"ld70c578-FCkt2JOJ\">\u8d1d\u53f6\u65af\u4f18\u5316\uff1a\u8be5\u6280\u672f\u901a\u8fc7\u66f4\u5c11\u7684\u8bc4\u4f30\u7f29\u5c0f\u4e86\u6700\u4f18\u53c2\u6570\u7684\u8303\u56f4\uff0c\u4ece\u800c\u8282\u7ea6\u8ba1\u7b97\u8d44\u6e90\u3002<\/li>\n<li data-id=\"ld70c578-hShcPrVJ\">\u4ea4\u53c9\u9a8c\u8bc1\uff1a\u4ea4\u53c9\u9a8c\u8bc1\u6709\u52a9\u4e8e\u8de8\u5404\u79cd\u6570\u636e\u96c6\u9a8c\u8bc1\u53c2\u6570\uff0c\u786e\u4fdd\u5176\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5ba2\u6237\u6570\u636e\u573a\u666f\u3002<\/li>\n<\/ul>\n<h4>\u5e94\u5bf9\u81ea\u52a8\u5316\u7684\u6311\u6218<\/h4>\n<p>\u5728\u964d\u7ef4\u548cHNSW\u5de5\u4f5c\u6d41\u4e2d\u96c6\u6210\u81ea\u52a8\u5316\u53ef\u80fd\u4f1a\u5e26\u6765\u6311\u6218\uff0c\u7279\u522b\u662f\u5728\u7ba1\u7406\u8ba1\u7b97\u9700\u6c42\u548c\u9632\u6b62\u8fc7\u62df\u5408\u65b9\u9762\u3002\u514b\u670d\u8fd9\u4e9b\u6311\u6218\u7684\u7b56\u7565\u5305\u62ec\uff1a<\/p>\n<ul data-id=\"u738a58b-5oqh8KEB\">\n<li data-id=\"ld70c578-7kwsGD84\">\u51cf\u5c11\u8ba1\u7b97\u5f00\u9500\uff1a\u4f7f\u7528\u5e76\u884c\u5904\u7406\u6765\u5206\u914d\u5de5\u4f5c\u8d1f\u8f7d\u53ef\u4ee5\u51cf\u5c11\u4f18\u5316\u65f6\u95f4\uff0c\u63d0\u9ad8\u5de5\u4f5c\u6d41\u6548\u7387\u3002<\/li>\n<li data-id=\"ld70c578-eI4M5l0c\">\u6a21\u5757\u5316\u96c6\u6210\uff1a\u6a21\u5757\u5316\u65b9\u6cd5\u6709\u52a9\u4e8e\u5c06\u81ea\u52a8\u5316\u7cfb\u7edf\u65e0\u7f1d\u96c6\u6210\u5230\u73b0\u6709\u5de5\u4f5c\u6d41\u4e2d\uff0c\u4ece\u800c\u964d\u4f4e\u590d\u6742\u6027\u3002<\/li>\n<li data-id=\"ld70c578-MI3OBPwD\">\u9632\u6b62\u8fc7\u62df\u5408\uff1a\u901a\u8fc7\u4ea4\u53c9\u9a8c\u8bc1\u8fdb\u884c\u7a33\u5065\u7684\u9a8c\u8bc1\uff0c\u786e\u4fdd\u4f18\u5316\u7684\u53c2\u6570\u5728\u6570\u636e\u96c6\u4e4b\u95f4\u4e00\u81f4\u6267\u884c\uff0c\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u8fc7\u62df\u5408\uff0c\u589e\u5f3a\u5ba2\u6237\u6570\u636e\u5e94\u7528\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u3002<\/li>\n<\/ul>\n<h3>\u7ed3\u8bba<\/h3>\n<p>\u4e3a\u4e86\u5145\u5206\u5229\u7528Elasticsearch\u4e2d\u7684\u5411\u91cf\u641c\u7d22\u6027\u80fd\uff0c\u91c7\u7528\u4e00\u79cd\u7ed3\u5408\u964d\u7ef4\u3001\u9ad8\u6548\u7d22\u5f15\u548c\u5468\u5230\u53c2\u6570\u8c03\u4f18\u7684\u7b56\u7565\u81f3\u5173\u91cd\u8981\u3002\u901a\u8fc7\u6574\u5408\u8fd9\u4e9b\u6280\u672f\uff0c\u6570\u636e\u5de5\u7a0b\u5e08\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u9ad8\u5ea6\u54cd\u5e94\u548c\u7cbe\u786e\u7684\u6570\u636e\u68c0\u7d22\u7cfb\u7edf\u3002\u81ea\u52a8\u5316\u4f18\u5316\u65b9\u6cd5\u8fdb\u4e00\u6b65\u63d0\u5347\u4e86\u8fd9\u4e00\u8fc7\u7a0b\uff0c\u5141\u8bb8\u4e0d\u65ad\u6539\u8fdb\u641c\u7d22\u53c2\u6570\u548c\u7d22\u5f15\u7b56\u7565\u3002\u968f\u7740\u7ec4\u7ec7\u8d8a\u6765\u8d8a\u4f9d\u8d56\u6765\u81ea\u5e9e\u5927\u6570\u636e\u96c6\u7684\u5b9e\u65f6\u89c1\u89e3\uff0c\u8fd9\u4e9b\u4f18\u5316\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u51b3\u7b56\u80fd\u529b\uff0c\u63d0\u4f9b\u66f4\u5feb\u3001\u66f4\u76f8\u5173\u7684\u641c\u7d22\u7ed3\u679c\u3002\u91c7\u7528\u8fd9\u79cd\u65b9\u6cd5\u4e3a\u672a\u6765\u7684\u53ef\u6269\u5c55\u6027\u548c\u6539\u8fdb\u7684\u54cd\u5e94\u80fd\u529b\u5960\u5b9a\u4e86\u57fa\u7840\uff0c\u4f7f\u641c\u7d22\u80fd\u529b\u4e0e\u4e0d\u65ad\u53d8\u5316\u7684\u4e1a\u52a1\u9700\u6c42\u548c\u6570\u636e\u589e\u957f\u4fdd\u6301\u4e00\u81f4\u3002<\/p>\n<p>\u6587\u7ae0\u6765\u81ea\uff1a51CTO<\/p>\n<\/div>\n<\/div>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_23148\" class=\"pvc_stats total_only  \" data-element-id=\"23148\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u63a2\u8ba8\u4e86\u4f7f\u7528Elasticsearch\u8fdb\u884c\u5411\u91cf\u641c\u7d22\u7684\u590d\u6742\u6027\uff0c\u91cd\u70b9\u4ecb\u7ecd\u4e86\u4f18\u5316\u6027\u80fd\u7684\u6709\u6548\u6280\u672f\u548c\u6700\u4f73\u5b9e\u8df5\u3002\u901a\u8fc7\u964d\u4f4e [&hellip;]<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_23148\" class=\"pvc_stats total_only  \" data-element-id=\"23148\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.0\" viewBox=\"0 0 502 315\" preserveAspectRatio=\"xMidYMid meet\"><g transform=\"translate(0,332) scale(0.1,-0.1)\" fill=\"\" stroke=\"none\"><path d=\"M2394 3279 l-29 -30 -3 -207 c-2 -182 0 -211 15 -242 39 -76 157 -76 196 0 15 31 17 60 15 243 l-3 209 -33 29 c-26 23 -41 29 -80 29 -41 0 -53 -5 -78 -31z\"\/><path d=\"M3085 3251 c-45 -19 -58 -50 -96 -229 -47 -217 -49 -260 -13 -295 52 -53 146 -42 177 20 16 31 87 366 87 410 0 70 -86 122 -155 94z\"\/><path d=\"M1751 3234 c-13 -9 -29 -31 -37 -50 -12 -29 -10 -49 21 -204 19 -94 39 -189 45 -210 14 -50 54 -80 110 -80 34 0 48 6 76 34 21 21 34 44 34 59 0 14 -18 113 -40 219 -37 178 -43 195 -70 221 -36 32 -101 37 -139 11z\"\/><path d=\"M1163 3073 c-36 -7 -73 -59 -73 -102 0 -56 133 -378 171 -413 34 -32 83 -37 129 -13 70 36 67 87 -16 290 -86 209 -89 214 -129 231 -35 14 -42 15 -82 7z\"\/><path d=\"M3689 3066 c-15 -9 -33 -30 -42 -48 -48 -103 -147 -355 -147 -375 0 -98 131 -148 192 -74 13 15 57 108 97 206 80 196 84 226 37 273 -30 30 -99 39 -137 18z\"\/><path d=\"M583 2784 c-38 -19 -67 -74 -58 -113 9 -42 211 -354 242 -373 16 -10 45 -18 66 -18 51 0 107 52 107 100 0 39 -1 41 -124 234 -80 126 -108 162 -133 173 -41 17 -61 16 -100 -3z\"\/><path d=\"M4250 2784 c-14 -9 -74 -91 -133 -183 -95 -150 -107 -173 -107 -213 0 -55 33 -94 87 -104 67 -13 90 8 211 198 130 202 137 225 78 284 -27 27 -42 34 -72 34 -22 0 -50 -8 -64 -16z\"\/><path d=\"M2275 2693 c-553 -48 -1095 -270 -1585 -649 -135 -104 -459 -423 -483 -476 -23 -49 -22 -139 2 -186 73 -142 361 -457 571 -626 285 -228 642 -407 990 -497 242 -63 336 -73 660 -74 310 0 370 5 595 52 535 111 1045 392 1455 803 122 121 250 273 275 326 19 41 19 137 0 174 -41 79 -309 363 -465 492 -447 370 -946 591 -1479 653 -113 14 -422 18 -536 8z m395 -428 c171 -34 330 -124 456 -258 112 -119 167 -219 211 -378 27 -96 24 -300 -5 -401 -72 -255 -236 -447 -474 -557 -132 -62 -201 -76 -368 -76 -167 0 -236 14 -368 76 -213 98 -373 271 -451 485 -162 444 86 934 547 1084 153 49 292 57 452 25z m909 -232 c222 -123 408 -262 593 -441 76 -74 138 -139 138 -144 0 -16 -233 -242 -330 -319 -155 -123 -309 -223 -461 -299 l-81 -41 32 46 c18 26 49 83 70 128 143 306 141 649 -6 957 -25 52 -61 116 -79 142 l-34 47 45 -20 c26 -10 76 -36 113 -56z m-2057 25 c-40 -58 -105 -190 -130 -263 -110 -324 -59 -707 132 -981 25 -35 42 -64 37 -64 -19 0 -241 119 -326 174 -188 122 -406 314 -532 468 l-58 71 108 103 c185 178 428 349 672 473 66 33 121 60 123 61 2 0 -10 -19 -26 -42z\"\/><path d=\"M2375 1950 c-198 -44 -350 -190 -395 -379 -18 -76 -8 -221 19 -290 114 -284 457 -406 731 -260 98 52 188 154 231 260 27 69 37 214 19 290 -38 163 -166 304 -326 360 -67 23 -215 33 -279 19z\"\/><\/g><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/aif.amtbbs.org\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":56,"featured_media":23152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,20,80],"tags":[113,1440],"class_list":["post-23148","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-23","category-20","category-80","tag-113","tag-1440"],"_links":{"self":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/23148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/comments?post=23148"}],"version-history":[{"count":1,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/23148\/revisions"}],"predecessor-version":[{"id":23154,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/posts\/23148\/revisions\/23154"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media\/23152"}],"wp:attachment":[{"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/media?parent=23148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/categories?post=23148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aif.amtbbs.org\/index.php\/wp-json\/wp\/v2\/tags?post=23148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}