{"id":2988,"date":"2021-10-03T17:15:00","date_gmt":"2021-10-04T00:15:00","guid":{"rendered":"https:\/\/www.xh86.me\/?p=2988"},"modified":"2021-10-16T17:02:24","modified_gmt":"2021-10-17T00:02:24","slug":"%e7%94%a8%e4%ba%86-elasticsearch-%e5%90%8e%ef%bc%8c%e6%9f%a5%e8%af%a2%e8%b5%b7%e9%a3%9e%e4%ba%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=2988","title":{"rendered":"\u7528\u4e86 Elasticsearch \u540e\uff0c\u67e5\u8be2\u8d77\u98de\u4e86\uff01"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<p style=\"text-align: center;\" data-mpa-powered-by=\"yiban.io\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-d95201347abe1c0044133a62ec2bdf84.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg\" style=\"border-radius: 6px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-d95201347abe1c0044133a62ec2bdf84.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.5203816131830009\" data-s=\"300,640\" data-type=\"png\" data-w=\"1153\" \/><\/div><\/p>\n<p>&nbsp;<\/p>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6700\u8fd1\u63a5\u89e6\u7684\u51e0\u4e2a\u9879\u76ee\u90fd\u4f7f\u7528\u5230\u4e86 Elasticsearch\uff08\u4ee5\u4e0b\u7b80\u79f0 ES\uff09\u6765\u5b58\u50a8\u6570\u636e\u548c\u5bf9\u6570\u636e\u8fdb\u884c\u641c\u7d22\u5206\u6790\uff0c\u5c31\u5bf9 ES \u8fdb\u884c\u4e86\u4e00\u4e9b\u5b66\u4e60\u3002\u672c\u6587\u6574\u7406\u81ea\u6211\u81ea\u5df1\u7684\u4e00\u6b21\u6280\u672f\u5206\u4eab\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">\u00a0<\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">\u672c\u6587\u4e0d\u4f1a\u5173\u6ce8 ES \u91cc\u9762\u7684\u5206\u5e03\u5f0f\u6280\u672f\u3001\u76f8\u5173 API \u7684\u4f7f\u7528\uff0c\u800c\u662f\u4e13\u6ce8\u5206\u4eab\u4e0b\u00a0\u201cES \u5982\u4f55\u5feb\u901f\u68c0\u7d22\u201d\u8fd9\u4e2a\u4e3b\u9898\u4e0a\u9762\u3002<\/span><span style=\"font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">\u8fd9\u4e2a\u4e5f\u662f\u6211\u5728\u5b66\u4e60\u4e4b\u524d\u5bf9 ES \u6700\u611f\u5174\u8da3\u7684\u90e8\u5206\u3002<\/span><\/section>\n<\/section>\n<\/section>\n<p>&nbsp;<\/p>\n<section data-mpa-template=\"t\">\n<section style=\"margin: 0px; padding: 0px 10px 0px 9px; color: #3c3c3c; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; line-height: 1.8; background: #ffffff; z-index: 10000;\">\u5173\u4e8e\u641c\u7d22<\/section>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"padding: 0px; color: #3c3c3c; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; background-color: #ffffff; font-size: 15px; display: inline-block; left: 0px; transform: rotateX(60deg); height: auto !important; width: 632px !important; visibility: visible !important; margin: 5px !important 0px 0px 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-type=\"png\" data-ratio=\"0.053125\" data-w=\"640\" \/><\/div><\/p>\n<p>&nbsp;<\/p>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5148\u8bbe\u60f3\u4e00\u4e2a\u5173\u4e8e\u641c\u7d22\u7684\u573a\u666f\uff0c\u5047\u8bbe\u6211\u4eec\u8981\u641c\u7d22\u4e00\u9996\u8bd7\u53e5\u5185\u5bb9\u4e2d\u5e26\u201c\u524d\u201d\u5b57\u7684\u53e4\u8bd7\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-7448b23ba2e7ee09d063f4c06d40d291.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-7448b23ba2e7ee09d063f4c06d40d291.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.5781758957654723\" data-type=\"jpeg\" data-w=\"614\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u7528\u4f20\u7edf\u5173\u7cfb\u578b\u6570\u636e\u5e93\u548c ES \u5b9e\u73b0\u4f1a\u6709\u4ec0\u4e48\u5dee\u522b\uff1f<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5982\u679c\u7528\u50cf MySQL \u8fd9\u6837\u7684 RDBMS \u6765\u5b58\u50a8\u53e4\u8bd7\u7684\u8bdd\uff0c\u6211\u4eec\u5e94\u8be5\u4f1a\u53bb\u4f7f\u7528\u8fd9\u6837\u7684 SQL \u53bb\u67e5\u8be2\uff1a<\/section>\n<\/section>\n<\/section>\n<p style=\"font-size: 12px; font-family: 'Operator Mono', Consolas, Monaco, Menlo, monospace; display: -webkit-box; overflow-x: auto; padding: 16px; color: #abb2bf; background: #282c34; border-radius: 0px; margin-left: 8px; margin-right: 8px;\">select\u00a0name\u00a0from\u00a0poems\u00a0<span style=\"color: #e6c07b; line-height: 26px;\">where<\/span>\u00a0content\u00a0like\u00a0<span style=\"color: #98c379; line-height: 26px;\">&#8220;%\u524d%&#8221;<\/span>;<\/p>\n<pre style=\"font-size: 16px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; margin-top: 10px; margin-bottom: 10px; overflow: auto; color: #000000; text-align: left; background-color: #ffffff;\"><\/pre>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd9\u79cd\u6211\u4eec\u79f0\u4e3a\u987a\u5e8f\u626b\u63cf\u6cd5\uff0c\u9700\u8981\u904d\u5386\u6240\u6709\u7684\u8bb0\u5f55\u8fdb\u884c\u5339\u914d\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e0d\u4f46\u6548\u7387\u4f4e\uff0c\u800c\u4e14\u4e0d\u7b26\u5408\u6211\u4eec\u641c\u7d22\u65f6\u7684\u671f\u671b\uff0c\u6bd4\u5982\u6211\u4eec\u5728\u641c\u7d22\u201cABCD\u201d\u8fd9\u6837\u7684\u5173\u952e\u8bcd\u65f6\uff0c\u901a\u5e38\u8fd8\u5e0c\u671b\u770b\u5230\u201cA\u201d\uff0c\u201cAB\u201d\uff0c\u201cCD\u201d\uff0c\u201cABC\u201d\u7684\u641c\u7d22\u7ed3\u679c\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e8e\u662f\u4e4e\u5c31\u6709\u4e86\u4e13\u4e1a\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u6bd4\u5982\u6211\u4eec\u4eca\u5929\u7684\u4e3b\u89d2 ES\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>\u641c\u7d22\u5f15\u64ce\u539f\u7406<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u641c\u7d22\u5f15\u64ce\u7684\u641c\u7d22\u539f\u7406\u7b80\u5355\u6982\u62ec\u7684\u8bdd\u53ef\u4ee5\u5206\u4e3a\u8fd9\u4e48\u51e0\u6b65\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-c8248a99b6741a0c03e80cf2bc4740e8.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-c8248a99b6741a0c03e80cf2bc4740e8.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.34824902723735407\" data-type=\"jpeg\" data-w=\"2056\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5185\u5bb9\u722c\u53d6\uff0c\u505c\u987f\u8bcd\u8fc7\u6ee4\uff0c\u6bd4\u5982\u4e00\u4e9b\u65e0\u7528\u7684\u50cf&#8221;\u7684&#8221;\uff0c\u201c\u4e86\u201d\u4e4b\u7c7b\u7684\u8bed\u6c14\u8bcd\/\u8fde\u63a5\u8bcd<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5185\u5bb9\u5206\u8bcd\uff0c\u63d0\u53d6\u5173\u952e\u8bcd<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6839\u636e\u5173\u952e\u8bcd\u5efa\u7acb\u5012\u6392\u7d22\u5f15<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">\u7528\u6237\u8f93\u5165\u5173\u952e\u8bcd\u8fdb\u884c\u641c\u7d22<\/span><\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd9\u91cc\u6211\u4eec\u5c31\u5f15\u51fa\u4e86\u4e00\u4e2a\u6982\u5ff5\uff0c\u4e5f\u662f\u6211\u4eec\u4eca\u5929\u7684\u8981\u5256\u6790\u7684\u91cd\u70b9\u2014\u2014\u5012\u6392\u7d22\u5f15\u3002\u4e5f\u662f ES \u7684\u6838\u5fc3\u77e5\u8bc6\u70b9\u3002<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; letter-spacing: 0.544px; text-align: justify;\">\n<section style=\"letter-spacing: 0.544px;\">\n<section style=\"margin: 30px auto; padding: 25px 20px; background-color: #f7f7f7;\">\n<section style=\"font-size: 14px; color: #4f4f4f;\" data-preserve-color=\"t\">\u5982\u679c\u4f60\u4e86\u89e3 ES \u5e94\u8be5\u77e5\u9053\uff0cES \u53ef\u4ee5\u8bf4\u662f\u5bf9 Lucene \u7684\u4e00\u4e2a\u5c01\u88c5\uff0c\u91cc\u9762\u5173\u4e8e\u5012\u6392\u7d22\u5f15\u7684\u5b9e\u73b0\u5c31\u662f\u901a\u8fc7 Lucene \u8fd9\u4e2a jar \u5305\u63d0\u4f9b\u7684 API \u5b9e\u73b0\u7684\uff0c\u6240\u4ee5\u4e0b\u9762\u8bb2\u7684\u5173\u4e8e\u5012\u6392\u7d22\u5f15\u7684\u5185\u5bb9\u5b9e\u9645\u4e0a\u90fd\u662f Lucene \u91cc\u9762\u7684\u5185\u5bb9\u3002<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section data-mpa-template=\"t\">\n<section style=\"margin: 0px; padding: 0px 10px 0px 9px; color: #3c3c3c; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; line-height: 1.8; background: #ffffff; z-index: 10000;\"><\/section>\n<section style=\"margin: 0px; padding: 0px 10px 0px 9px; color: #3c3c3c; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; line-height: 1.8; background: #ffffff; z-index: 10000;\">\u5012\u6392\u7d22\u5f15<\/section>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"padding: 0px; color: #3c3c3c; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; background-color: #ffffff; font-size: 15px; display: inline-block; left: 0px; transform: rotateX(60deg); height: auto !important; width: 632px !important; visibility: visible !important; margin: 5px !important 0px 0px 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.053125\" data-type=\"png\" data-w=\"640\" \/><\/div><\/p>\n<p>&nbsp;<\/p>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u9996\u5148\u6211\u4eec\u8fd8\u4e0d\u80fd\u5fd8\u4e86\u6211\u4eec\u4e4b\u524d\u63d0\u7684\u641c\u7d22\u9700\u6c42\uff0c\u5148\u770b\u4e0b\u5efa\u7acb\u5012\u6392\u7d22\u5f15\u4e4b\u540e\uff0c\u6211\u4eec\u4e0a\u8ff0\u7684\u67e5\u8be2\u9700\u6c42\u4f1a\u53d8\u6210\u4ec0\u4e48\u6837\u5b50\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-fefe860a351a99e1c9d60c48dfa6620e.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-fefe860a351a99e1c9d60c48dfa6620e.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.6185286103542235\" data-type=\"jpeg\" data-w=\"734\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd9\u6837\u6211\u4eec\u4e00\u8f93\u5165\u201c\u524d\u201d\uff0c\u501f\u52a9\u5012\u6392\u7d22\u5f15\u5c31\u53ef\u4ee5\u76f4\u63a5\u5b9a\u4f4d\u5230\u7b26\u5408\u67e5\u8be2\u6761\u4ef6\u7684\u53e4\u8bd7\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5f53\u7136\u8fd9\u53ea\u662f\u4e00\u4e2a\u5f88\u5927\u767d\u8bdd\u7684\u5f62\u5f0f\u6765\u63cf\u8ff0\u5012\u6392\u7d22\u5f15\u7684\u7b80\u8981\u5de5\u4f5c\u539f\u7406\u3002\u5728 ES \u4e2d\uff0c\u8fd9\u4e2a\u5012\u6392\u7d22\u5f15\u662f\u5177\u4f53\u662f\u4e2a\u4ec0\u4e48\u6837\u7684\uff0c\u600e\u4e48\u5b58\u50a8\u7684\u7b49\u7b49\uff0c\u8fd9\u4e9b\u624d\u662f\u5012\u6392\u7d22\u5f15\u7684\u7cbe\u534e\u5185\u5bb9\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>\u51e0\u4e2a\u6982\u5ff5<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728\u8fdb\u5165\u4e0b\u6587\u4e4b\u524d\uff0c\u5148\u63cf\u8ff0\u51e0\u4e2a\u524d\u7f6e\u6982\u5ff5\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>term<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5173\u952e\u8bcd\u8fd9\u4e2a\u4e1c\u897f\u662f\u6211\u81ea\u5df1\u7684\u8bb2\u6cd5\uff0c\u5728 ES \u4e2d\uff0c\u5173\u952e\u8bcd\u88ab\u79f0\u4e3a term\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>postings list<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd8\u662f\u7528\u4e0a\u9762\u7684\u4f8b\u5b50\uff0c{\u9759\u591c\u601d, \u671b\u5e90\u5c71\u7011\u5e03}\u662f\u201c\u524d\u201d\u8fd9\u4e2a term \u6240\u5bf9\u5e94\u5217\u8868\u3002\u5728 ES \u4e2d\uff0c\u8fd9\u4e9b\u88ab\u63cf\u8ff0\u4e3a\u6240\u6709\u5305\u542b\u7279\u5b9a term \u6587\u6863\u7684 id \u7684\u96c6\u5408\u3002\u7531\u4e8e\u6574\u578b\u6570\u5b57 integer \u53ef\u4ee5\u88ab\u9ad8\u6548\u538b\u7f29\u7684\u7279\u8d28\uff0cinteger \u662f\u6700\u9002\u5408\u653e\u5728 postings list \u4f5c\u4e3a\u6587\u6863\u7684\u552f\u4e00\u6807\u8bc6\u7684\uff0cES \u4f1a\u5bf9\u8fd9\u4e9b\u5b58\u5165\u7684\u6587\u6863\u8fdb\u884c\u5904\u7406\uff0c\u8f6c\u5316\u6210\u4e00\u4e2a\u552f\u4e00\u7684\u6574\u578b id\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u518d\u8bf4\u4e0b\u8fd9\u4e2a id \u7684\u8303\u56f4\uff0c\u5728\u5b58\u50a8\u6570\u636e\u7684\u65f6\u5019\uff0c\u5728\u6bcf\u4e00\u4e2a shard \u91cc\u9762\uff0cES \u4f1a\u5c06\u6570\u636e\u5b58\u5165\u4e0d\u540c\u7684 segment\uff0c\u8fd9\u662f\u4e00\u4e2a\u6bd4 shard \u66f4\u5c0f\u7684\u5206\u7247\u5355\u4f4d\uff0c\u8fd9\u4e9b segment \u4f1a\u5b9a\u671f\u5408\u5e76\u3002\u5728\u6bcf\u4e00\u4e2a segment \u91cc\u9762\u90fd\u4f1a\u4fdd\u5b58\u6700\u591a 2^31 \u4e2a\u6587\u6863\uff0c\u6bcf\u4e2a\u6587\u6863\u88ab\u5206\u914d\u4e00\u4e2a\u552f\u4e00\u7684 id\uff0c\u4ece0\u5230(2^31)-1\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-209c994615e13c7a6b0f30c244eaa56e.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img js_insertlocalimg\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-209c994615e13c7a6b0f30c244eaa56e.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.949685534591195\" data-s=\"300,640\" data-type=\"jpeg\" data-w=\"477\" \/><\/div><\/p>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; letter-spacing: 0.544px; text-align: justify;\">\n<section style=\"letter-spacing: 0.544px;\">\n<section style=\"margin: 30px auto; padding: 25px 20px; background-color: #f7f7f7;\">\n<section style=\"font-size: 14px; color: #4f4f4f;\" data-preserve-color=\"t\">\u76f8\u5173\u7684\u540d\u8bcd\u90fd\u662f ES \u5b98\u65b9\u6587\u6863\u7ed9\u7684\u63cf\u8ff0\uff0c\u540e\u9762\u53c2\u8003\u6750\u6599\u4e2d\u90fd\u53ef\u4ee5\u627e\u5230\u51fa\u5904\u3002<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>\u7d22\u5f15\u5185\u90e8\u7ed3\u6784<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e0a\u9762\u6240\u63cf\u8ff0\u7684\u5012\u6392\u7d22\u5f15\uff0c\u4ec5\u4ec5\u662f\u4e00\u4e2a\u5f88\u7c97\u7cd9\u7684\u6a21\u578b\u3002\u771f\u7684\u8981\u5728\u5b9e\u9645\u751f\u4ea7\u4e2d\u4f7f\u7528\uff0c\u5f53\u7136\u8fd8\u5dee\u7684\u5f88\u8fdc\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728\u5b9e\u9645\u751f\u4ea7\u573a\u666f\u4e2d\uff0c\u6bd4\u5982 ES \u6700\u5e38\u7528\u7684\u65e5\u5fd7\u5206\u6790\uff0c\u65e5\u5fd7\u5185\u5bb9\u8fdb\u884c\u5206\u8bcd\u4e4b\u540e\uff0c\u53ef\u4ee5\u5f97\u5230\u591a\u5c11\u7684 term\uff1f<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u90a3\u4e48\u5982\u4f55\u5feb\u901f\u7684\u5728\u6d77\u91cf term \u4e2d\u67e5\u8be2\u5230\u5bf9\u5e94\u7684 term \u5462\uff1f\u904d\u5386\u4e00\u904d\u663e\u7136\u662f\u4e0d\u73b0\u5b9e\u7684\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>term dictionary<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e8e\u662f\u4e4e\u5c31\u6709\u4e86 term dictionary\uff0cES \u4e3a\u4e86\u80fd\u5feb\u901f\u67e5\u627e\u5230 term\uff0c\u5c06\u6240\u6709\u7684 term \u6392\u4e86\u4e00\u4e2a\u5e8f\uff0c\u4e8c\u5206\u6cd5\u67e5\u627e\u3002\u662f\u4e0d\u662f\u611f\u89c9\u6709\u70b9\u773c\u719f\uff0c\u8fd9\u4e0d\u5c31\u662f MySQL \u7684\u7d22\u5f15\u65b9\u5f0f\u7684\uff0c\u76f4\u63a5\u7528 B+\u6811\u5efa\u7acb\u7d22\u5f15\u8bcd\u5178\u6307\u5411\u88ab\u7d22\u5f15\u7684\u6570\u636e\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>term index<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4f46\u662f\u95ee\u9898\u53c8\u6765\u4e86\uff0c\u4f60\u89c9\u5f97 Term Dictionary \u5e94\u8be5\u653e\u5728\u54ea\u91cc\uff1f\u80af\u5b9a\u662f\u653e\u5728\u5185\u5b58\u91cc\u9762\u5427\uff1f\u78c1\u76d8 io \u90a3\u4e48\u6162\u3002\u5c31\u50cf MySQL \u7d22\u5f15\u5c31\u662f\u5b58\u5728\u5185\u5b58\u91cc\u9762\u4e86\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4f46\u662f\u5982\u679c\u628a\u6574\u4e2a term dictionary \u653e\u5728\u5185\u5b58\u91cc\u9762\u4f1a\u6709\u4ec0\u4e48\u540e\u679c\u5462\uff1f<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5185\u5b58\u7206\u4e86\u2026\u2026<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u522b\u5fd8\u4e86\uff0cES \u9ed8\u8ba4\u53ef\u662f\u4f1a\u5bf9\u5168\u90e8 text \u5b57\u6bb5\u8fdb\u884c\u7d22\u5f15\uff0c\u5fc5\u7136\u4f1a\u6d88\u8017\u5de8\u5927\u7684\u5185\u5b58\uff0c\u4e3a\u6b64 ES \u9488\u5bf9\u7d22\u5f15\u8fdb\u884c\u4e86\u6df1\u5ea6\u7684\u4f18\u5316\u3002\u5728\u4fdd\u8bc1\u6267\u884c\u6548\u7387\u7684\u540c\u65f6\uff0c\u5c3d\u91cf\u7f29\u51cf\u5185\u5b58\u7a7a\u95f4\u7684\u5360\u7528\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e8e\u662f\u4e4e\u5c31\u6709\u4e86 term index\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">Term index \u4ece\u6570\u636e\u7ed3\u6784\u4e0a\u5206\u7c7b\u7b97\u662f\u4e00\u4e2a\u201cTrie \u6811\u201d\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u5e38\u8bf4\u7684\u5b57\u5178\u6811\u3002\u8fd9\u662f\u4e00\u79cd\u4e13\u95e8\u5904\u7406\u5b57\u7b26\u4e32\u5339\u914d\u7684\u6570\u636e\u7ed3\u6784\uff0c\u7528\u6765\u89e3\u51b3\u5728\u4e00\u7ec4\u5b57\u7b26\u4e32\u96c6\u5408\u4e2d\u5feb\u901f\u67e5\u627e\u67d0\u4e2a\u5b57\u7b26\u4e32\u7684\u95ee\u9898\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd9\u68f5\u6811\u4e0d\u4f1a\u5305\u542b\u6240\u6709\u7684 term\uff0c\u5b83\u5305\u542b\u7684\u662f term \u7684\u4e00\u4e9b\u524d\u7f00\uff08\u8fd9\u4e5f\u662f\u5b57\u5178\u6811\u7684\u4f7f\u7528\u573a\u666f\uff0c\u516c\u5171\u524d\u7f00\uff09\u3002\u901a\u8fc7 term index \u53ef\u4ee5\u5feb\u901f\u5730\u5b9a\u4f4d\u5230 term dictionary \u7684\u67d0\u4e2a offset\uff0c\u7136\u540e\u4ece\u8fd9\u4e2a\u4f4d\u7f6e\u518d\u5f80\u540e\u987a\u5e8f\u67e5\u627e\u3002\u5c31\u60f3\u53f3\u8fb9\u8fd9\u4e2a\u56fe\u6240\u8868\u793a\u7684\u3002\uff08\u600e\u4e48\u6837\uff0c\u50cf\u4e0d\u50cf\u6211\u4eec\u67e5\u82f1\u6587\u5b57\u5178\uff0c\u6211\u4eec\u5b9a\u4f4d S \u5f00\u5934\u7684\u7b2c\u4e00\u4e2a\u5355\u8bcd\uff0c\u6216\u8005\u5b9a\u4f4d\u5230 Sh \u5f00\u5934\u7684\u7b2c\u4e00\u4e2a\u5355\u8bcd\uff0c\u7136\u540e\u518d\u5f80\u540e\u987a\u5e8f\u67e5\u8be2\uff09<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">Lucene \u5728\u8fd9\u91cc\u8fd8\u505a\u4e86\u4e24\u70b9\u4f18\u5316\uff0c\u4e00\u662f term dictionary \u5728\u78c1\u76d8\u4e0a\u9762\u662f\u5206 block \u4fdd\u5b58\u7684\uff0c\u4e00\u4e2a block \u5185\u90e8\u5229\u7528\u516c\u5171\u524d\u7f00\u538b\u7f29\uff0c\u6bd4\u5982\u90fd\u662f Ab \u5f00\u5934\u7684\u5355\u8bcd\u5c31\u53ef\u4ee5\u628a Ab \u7701\u53bb\u3002\u4e8c\u662f term index \u5728\u5185\u5b58\u4e2d\u662f\u4ee5 FST\uff08finite state transducers\uff09\u7684\u6570\u636e\u7ed3\u6784\u4fdd\u5b58\u7684\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">FST \u6709\u4e24\u4e2a\u4f18\u70b9\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u7a7a\u95f4\u5360\u7528\u5c0f\uff0c\u901a\u8fc7\u5bf9\u8bcd\u5178\u4e2d\u5355\u8bcd\u524d\u7f00\u548c\u540e\u7f00\u7684\u91cd\u590d\u5229\u7528\uff0c\u538b\u7f29\u4e86\u5b58\u50a8\u7a7a\u95f4<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u67e5\u8be2\u901f\u5ea6\u5feb\uff0cO(len(str)) \u7684\u67e5\u8be2\u65f6\u95f4\u590d\u6742\u5ea6\u3002<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; letter-spacing: 0.544px; text-align: justify;\">\n<section style=\"letter-spacing: 0.544px;\">\n<section style=\"margin: 30px auto; padding: 25px 20px; background-color: #f7f7f7;\">\n<section style=\"font-size: 14px; color: #4f4f4f; text-align: left;\" data-preserve-color=\"t\">FST \u7684\u7406\u8bba\u6bd4\u8f83\u590d\u6742\uff0c\u672c\u6587\u4e0d\u7ec6\u8bb2\uff0c\u5ef6\u4f38\u9605\u8bfb\uff1ahttps:\/\/www.shenyanchao.cn\/blog\/2018\/12\/04\/lucene-fst\/<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">OK\uff0c\u73b0\u5728\u6211\u4eec\u80fd\u5f97\u5230 Lucene \u5012\u6392\u7d22\u5f15\u5927\u81f4\u662f\u4e2a\u4ec0\u4e48\u6837\u5b50\u7684\u4e86\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-7f2a5d2dc5f7cfea845d096824c8acb8.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-7f2a5d2dc5f7cfea845d096824c8acb8.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.4965986394557823\" data-type=\"jpeg\" data-w=\"1029\" \/><\/div><\/p>\n<\/section>\n<\/section>\n<\/section>\n<p>&nbsp;<\/p>\n<section data-mpa-template=\"t\">\n<section style=\"margin: 0px; padding: 0px 10px 0px 9px; color: #3c3c3c; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; line-height: 1.8; background: rgba(0, 0, 0, 0); z-index: 10000;\">\u5173\u4e8e postings list \u7684\u4e00\u4e9b\u5de7\u6280<\/section>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"padding: 0px; color: #3c3c3c; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; background-color: rgba(0, 0, 0, 0); font-size: 15px; display: inline-block; left: 0px; transform: rotateX(60deg); height: auto !important; width: 632px !important; visibility: visible !important; margin: 5px !important 0px 0px 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.053125\" data-type=\"png\" data-w=\"640\" \/><\/div><\/p>\n<p>&nbsp;<\/p>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728\u5b9e\u9645\u4f7f\u7528\u4e2d\uff0cpostings list \u8fd8\u9700\u8981\u89e3\u51b3\u51e0\u4e2a\u75db\u70b9\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">postings list \u5982\u679c\u4e0d\u8fdb\u884c\u538b\u7f29\uff0c\u4f1a\u975e\u5e38\u5360\u7528\u78c1\u76d8\u7a7a\u95f4<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8054\u5408\u67e5\u8be2\u4e0b\uff0c\u5982\u4f55\u5feb\u901f\u6c42\u4ea4\u5e76\u96c6\uff08intersections and unions\uff09<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5bf9\u4e8e\u5982\u4f55\u538b\u7f29\uff0c\u53ef\u80fd\u4f1a\u6709\u4eba\u89c9\u5f97\u6ca1\u6709\u5fc5\u8981\uff0c\u201cposting list \u4e0d\u662f\u5df2\u7ecf\u53ea\u5b58\u50a8\u6587\u6863 id \u4e86\u5417\uff1f\u8fd8\u9700\u8981\u538b\u7f29\uff1f\u201d\uff0c\u4f46\u662f\u5982\u679c\u5728 posting list \u6709\u767e\u4e07\u4e2a doc id \u7684\u60c5\u51b5\uff0c\u538b\u7f29\u5c31\u663e\u5f97\u5f88\u6709\u5fc5\u8981\u4e86\u3002\uff08\u6bd4\u5982\u6309\u7167\u671d\u4ee3\u67e5\u8be2\u53e4\u8bd7\uff1f\uff09\uff0c\u81f3\u4e8e\u4e3a\u5565\u9700\u8981\u6c42\u4ea4\u5e76\u96c6\uff0cES \u662f\u4e13\u95e8\u7528\u6765\u641c\u7d22\u7684\uff0c\u80af\u5b9a\u4f1a\u6709\u5f88\u591a\u8054\u5408\u67e5\u8be2\u7684\u9700\u6c42\u5427 \uff08AND\u3001OR\uff09\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6309\u7167\u4e0a\u9762\u7684\u601d\u8def\uff0c\u6211\u4eec\u5148\u5c06\u5982\u4f55\u538b\u7f29\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>\u538b\u7f29<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>Frame of Reference<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728 Lucene \u4e2d\uff0c\u8981\u6c42 postings lists \u90fd\u8981\u662f\u6709\u5e8f\u7684\u6574\u5f62\u6570\u7ec4\u3002\u8fd9\u6837\u5c31\u5e26\u6765\u4e86\u4e00\u4e2a\u5f88\u597d\u7684\u597d\u5904\uff0c\u53ef\u4ee5\u901a\u8fc7 \u589e\u91cf\u7f16\u7801\uff08delta-encode\uff09\u8fd9\u79cd\u65b9\u5f0f\u8fdb\u884c\u538b\u7f29\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6bd4\u5982\u73b0\u5728\u6709 id \u5217\u8868\u00a0[73, 300, 302, 332, 343, 372]\uff0c\u8f6c\u5316\u6210\u6bcf\u4e00\u4e2a id \u76f8\u5bf9\u4e8e\u524d\u4e00\u4e2a id \u7684\u589e\u91cf\u503c\uff08\u7b2c\u4e00\u4e2a id \u7684\u524d\u4e00\u4e2a id \u9ed8\u8ba4\u662f 0\uff0c\u589e\u91cf\u5c31\u662f\u5b83\u81ea\u5df1\uff09\u5217\u8868\u662f\u00a0[73, 227, 2, 30, 11, 29]\u3002\u5728\u8fd9\u4e2a\u65b0\u7684\u5217\u8868\u91cc\u9762\uff0c\u6240\u6709\u7684 id \u90fd\u662f\u5c0f\u4e8e 255 \u7684\uff0c\u6240\u4ee5\u6bcf\u4e2a id \u53ea\u9700\u8981\u4e00\u4e2a\u5b57\u8282\u5b58\u50a8\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5b9e\u9645\u4e0a ES \u4f1a\u505a\u7684\u66f4\u52a0\u7cbe\u7ec6\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-3bcc554afa9b24e006e39ae8749e51bf.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-3bcc554afa9b24e006e39ae8749e51bf.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.7671568627450981\" data-type=\"jpeg\" data-w=\"2040\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5b83\u4f1a\u628a\u6240\u6709\u7684\u6587\u6863\u5206\u6210\u5f88\u591a\u4e2a block\uff0c\u6bcf\u4e2a block \u6b63\u597d\u5305\u542b 256 \u4e2a\u6587\u6863\uff0c\u7136\u540e\u5355\u72ec\u5bf9\u6bcf\u4e2a\u6587\u6863\u8fdb\u884c\u589e\u91cf\u7f16\u7801\uff0c\u8ba1\u7b97\u51fa\u5b58\u50a8\u8fd9\u4e2a block \u91cc\u9762\u6240\u6709\u6587\u6863\u6700\u591a\u9700\u8981\u591a\u5c11\u4f4d\u6765\u4fdd\u5b58\u6bcf\u4e2a id\uff0c\u5e76\u4e14\u628a\u8fd9\u4e2a\u4f4d\u6570\u4f5c\u4e3a\u5934\u4fe1\u606f\uff08header\uff09\u653e\u5728\u6bcf\u4e2a block \u7684\u524d\u9762\u3002\u8fd9\u4e2a\u6280\u672f\u53eb Frame of Reference\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e0a\u56fe\u4e5f\u662f\u6765\u81ea\u4e8e ES \u5b98\u65b9\u535a\u5ba2\u4e2d\u7684\u4e00\u4e2a\u793a\u4f8b\uff08\u5047\u8bbe\u6bcf\u4e2a block \u53ea\u6709 3 \u4e2a\u6587\u4ef6\u800c\u4e0d\u662f 256\uff09\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">FOR \u7684\u6b65\u9aa4\u53ef\u4ee5\u603b\u7ed3\u4e3a\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-f3ef88968b8ee065c53ff21e64db65ee.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"box-sizing: border-box; vertical-align: middle; max-width: 625px; margin: 0px; inset: 0px; border: 0px initial initial;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-f3ef88968b8ee065c53ff21e64db65ee.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.07848101265822785\" data-type=\"jpeg\" data-w=\"790\" \/><\/div><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fdb\u8fc7\u6700\u540e\u7684\u4f4d\u538b\u7f29\u4e4b\u540e\uff0c\u6574\u578b\u6570\u7ec4\u7684\u7c7b\u578b\u4ece\u56fa\u5b9a\u5927\u5c0f\uff088\uff0c16\uff0c32\uff0c64 \u4f4d\uff094 \u79cd\u7c7b\u578b\uff0c\u6269\u5c55\u5230\u4e86 [1-64] \u4f4d\u5171 64 \u79cd\u7c7b\u578b\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u901a\u8fc7\u4ee5\u4e0a\u7684\u65b9\u5f0f\u53ef\u4ee5\u6781\u5927\u7684\u8282\u7701 posting list \u7684\u7a7a\u95f4\u6d88\u8017\uff0c\u63d0\u9ad8\u67e5\u8be2\u6027\u80fd\u3002\u4e0d\u8fc7 ES \u4e3a\u4e86\u63d0\u9ad8 filter \u8fc7\u6ee4\u5668\u67e5\u8be2\u7684\u6027\u80fd\uff0c\u8fd8\u505a\u4e86\u66f4\u591a\u7684\u5de5\u4f5c\uff0c\u90a3\u5c31\u662f\u7f13\u5b58\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"color: #888888;\"><strong>Roaring Bitmaps\uff08for filter cache\uff09<\/strong><\/span><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728 ES \u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528 filters \u6765\u4f18\u5316\u67e5\u8be2\uff0cfilter \u67e5\u8be2\u53ea\u5904\u7406\u6587\u6863\u662f\u5426\u5339\u914d\u4e0e\u5426\uff0c\u4e0d\u6d89\u53ca\u6587\u6863\u8bc4\u5206\u64cd\u4f5c\uff0c\u67e5\u8be2\u7684\u7ed3\u679c\u53ef\u4ee5\u88ab\u7f13\u5b58\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5bf9\u4e8e filter \u67e5\u8be2\uff0cES \u63d0\u4f9b\u4e86 filter cache \u8fd9\u79cd\u7279\u6b8a\u7684\u7f13\u5b58\uff0cfilter cache \u7528\u6765\u5b58\u50a8 filters \u5f97\u5230\u7684\u7ed3\u679c\u96c6\u3002\u7f13\u5b58 filters \u4e0d\u9700\u8981\u592a\u591a\u7684\u5185\u5b58\uff0c\u5b83\u53ea\u4fdd\u7559\u4e00\u79cd\u4fe1\u606f\uff0c\u5373\u54ea\u4e9b\u6587\u6863\u4e0e filter \u76f8\u5339\u914d\u3002\u540c\u65f6\u5b83\u53ef\u4ee5\u7531\u5176\u5b83\u7684\u67e5\u8be2\u590d\u7528\uff0c\u6781\u5927\u5730\u63d0\u5347\u4e86\u67e5\u8be2\u7684\u6027\u80fd\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6211\u4eec\u4e0a\u9762\u63d0\u5230\u7684 Frame Of Reference \u538b\u7f29\u7b97\u6cd5\u5bf9\u4e8e postings list \u6765\u8bf4\u6548\u679c\u5f88\u597d\uff0c\u4f46\u5bf9\u4e8e\u9700\u8981\u5b58\u50a8\u5728\u5185\u5b58\u4e2d\u7684 filter cache \u7b49\u4e0d\u592a\u5408\u9002\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">filter cache \u4f1a\u5b58\u50a8\u90a3\u4e9b\u7ecf\u5e38\u4f7f\u7528\u7684\u6570\u636e\uff0c\u9488\u5bf9 filter \u7684\u7f13\u5b58\u5c31\u662f\u4e3a\u4e86\u52a0\u901f\u5904\u7406\u6548\u7387\uff0c\u5bf9\u538b\u7f29\u7b97\u6cd5\u8981\u6c42\u66f4\u9ad8\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5bf9\u4e8e\u8fd9\u7c7b postings list\uff0cES \u91c7\u7528\u4e0d\u4e00\u6837\u7684\u538b\u7f29\u65b9\u5f0f\u3002\u90a3\u4e48\u8ba9\u6211\u4eec\u4e00\u6b65\u6b65\u6765\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u9996\u5148\u6211\u4eec\u77e5\u9053 postings list \u662f Integer \u6570\u7ec4\uff0c\u5177\u6709\u538b\u7f29\u7a7a\u95f4\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5047\u8bbe\u6709\u8fd9\u4e48\u4e00\u4e2a\u6570\u7ec4\uff0c\u6211\u4eec\u7b2c\u4e00\u4e2a\u538b\u7f29\u7684\u601d\u8def\u662f\u4ec0\u4e48\uff1f\u7528\u4f4d\u7684\u65b9\u5f0f\u6765\u8868\u793a\uff0c\u6bcf\u4e2a\u6587\u6863\u5bf9\u5e94\u5176\u4e2d\u7684\u4e00\u4f4d\uff0c\u4e5f\u5c31\u662f\u6211\u4eec\u5e38\u8bf4\u7684\u4f4d\u56fe\uff0cbitmap\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5b83\u7ecf\u5e38\u88ab\u4f5c\u4e3a\u7d22\u5f15\u7528\u5728\u6570\u636e\u5e93\u3001\u67e5\u8be2\u5f15\u64ce\u548c\u641c\u7d22\u5f15\u64ce\u4e2d\uff0c\u5e76\u4e14\u4f4d\u64cd\u4f5c\uff08\u5982 and \u6c42\u4ea4\u96c6\u3001or \u6c42\u5e76\u96c6\uff09\u4e4b\u95f4\u53ef\u4ee5\u5e76\u884c\uff0c\u6548\u7387\u66f4\u597d\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-b18b95e3162a39e917cb01a70b7c3f4b.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-b18b95e3162a39e917cb01a70b7c3f4b.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.8207831325301205\" data-type=\"jpeg\" data-w=\"664\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4f46\u662f\uff0c\u4f4d\u56fe\u6709\u4e2a\u5f88\u660e\u663e\u7684\u7f3a\u70b9\uff0c\u4e0d\u7ba1\u4e1a\u52a1\u4e2d\u5b9e\u9645\u7684\u5143\u7d20\u57fa\u6570\u6709\u591a\u5c11\uff0c\u5b83\u5360\u7528\u7684\u5185\u5b58\u7a7a\u95f4\u90fd\u6052\u5b9a\u4e0d\u53d8\u3002\u4e5f\u5c31\u662f\u8bf4\u4e0d\u9002\u7528\u4e8e\u7a00\u758f\u5b58\u50a8\u3002\u4e1a\u5185\u5bf9\u4e8e\u7a00\u758f\u4f4d\u56fe\u4e5f\u6709\u5f88\u591a\u6210\u719f\u7684\u538b\u7f29\u65b9\u6848\uff0cLucene \u91c7\u7528\u7684\u5c31\u662f roaring bitmaps\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6211\u8fd9\u91cc\u7528\u7b80\u5355\u7684\u65b9\u5f0f\u63cf\u8ff0\u4e00\u4e0b\u8fd9\u4e2a\u538b\u7f29\u8fc7\u7a0b\u662f\u600e\u4e48\u6837\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-9a5073a362e12950551779512c84604e.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-9a5073a362e12950551779512c84604e.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.82734375\" data-type=\"jpeg\" data-w=\"1280\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5c06 doc id \u62c6\u6210\u9ad8 16 \u4f4d\uff0c\u4f4e 16 \u4f4d\u3002\u5bf9\u9ad8\u4f4d\u8fdb\u884c\u805a\u5408\uff08\u4ee5\u9ad8\u4f4d\u505a key\uff0cvalue \u4e3a\u6709\u76f8\u540c\u9ad8\u4f4d\u7684\u6240\u6709\u4f4e\u4f4d\u6570\u7ec4\uff09\uff0c\u6839\u636e\u4f4e\u4f4d\u7684\u6570\u636e\u91cf\uff08\u4e0d\u540c\u9ad8\u4f4d\u805a\u5408\u51fa\u7684\u4f4e\u4f4d\u6570\u7ec4\u957f\u5ea6\u4e0d\u76f8\u540c\uff09\uff0c\u4f7f\u7528\u4e0d\u540c\u7684 container\uff08\u6570\u636e\u7ed3\u6784\uff09\u5b58\u50a8\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">len&lt;4096 ArrayContainer \u76f4\u63a5\u5b58\u503c<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">len&gt;=4096 BitmapContainer \u4f7f\u7528 bitmap \u5b58\u50a8<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5206\u754c\u7ebf\u7684\u6765\u6e90\uff1avalue \u7684\u6700\u5927\u603b\u6570\u662f\u4e3a 2^16=65536\uff0c\u5047\u8bbe\u4ee5 bitmap \u65b9\u5f0f\u5b58\u50a8\u9700\u8981 65536bit=8kb\uff0c\u800c\u76f4\u63a5\u5b58\u503c\u7684\u65b9\u5f0f\uff0c\u4e00\u4e2a\u503c 2 byte\uff0c4K \u4e2a\u603b\u5171\u9700\u8981 2byte*4K=8kb\u3002\u6240\u4ee5\u5f53 value \u603b\u91cf &lt;4k \u65f6\uff0c\u4f7f\u7528\u76f4\u63a5\u5b58\u503c\u7684\u65b9\u5f0f\u66f4\u8282\u7701\u7a7a\u95f4\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-4113aea5d5835b46d539be01a2df290d.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-4113aea5d5835b46d539be01a2df290d.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.7050298380221653\" data-type=\"jpeg\" data-w=\"2346\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u7a7a\u95f4\u538b\u7f29\u4e3b\u8981\u4f53\u73b0\u5728\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u9ad8\u4f4d\u805a\u5408\uff08\u5047\u8bbe\u6570\u636e\u4e2d\u6709 100w \u4e2a\u9ad8\u4f4d\u76f8\u540c\u7684\u503c\uff0c\u539f\u5148\u9700\u8981 100w_2byte\uff0c\u73b0\u5728\u53ea\u8981 1_2byte\uff09<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4f4e\u4f4d\u538b\u7f29<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u7f3a\u70b9\u5c31\u5728\u4e8e\u4f4d\u64cd\u4f5c\u7684\u901f\u5ea6\u76f8\u5bf9\u4e8e\u539f\u751f\u7684 bitmap \u4f1a\u6709\u5f71\u54cd\u3002<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; letter-spacing: 0.544px; text-align: justify;\">\n<section style=\"letter-spacing: 0.544px;\">\n<section style=\"margin: 30px auto; padding: 25px 20px; background-color: #f7f7f7;\">\n<section style=\"font-size: 14px; color: #4f4f4f;\" data-preserve-color=\"t\">\u8fd9\u5c31\u662f trade-off \u5440\u3002\u5e73\u8861\u7684\u827a\u672f\u3002<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>\u8054\u5408\u67e5\u8be2<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8bb2\u5b8c\u4e86\u538b\u7f29\uff0c\u6211\u4eec\u518d\u6765\u8bb2\u8bb2\u8054\u5408\u67e5\u8be2\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5148\u8bb2\u7b80\u5355\u7684\uff0c\u5982\u679c\u67e5\u8be2\u6709 filter cache\uff0c\u90a3\u5c31\u662f\u76f4\u63a5\u62ff filter cache \u6765\u505a\u8ba1\u7b97\uff0c\u4e5f\u5c31\u662f\u8bf4\u4f4d\u56fe\u6765\u505a AND \u6216\u8005 OR \u7684\u8ba1\u7b97\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5982\u679c\u67e5\u8be2\u7684 filter \u6ca1\u6709\u7f13\u5b58\uff0c\u90a3\u4e48\u5c31\u7528 skip list \u7684\u65b9\u5f0f\u53bb\u904d\u5386\u78c1\u76d8\u4e0a\u7684 postings list\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: center; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-6a85ebd962892022728982c5140884f2.jpeg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"margin: 0px; inset: 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-6a85ebd962892022728982c5140884f2.jpeg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"1.3017543859649123\" data-type=\"jpeg\" data-w=\"285\" \/><\/div><\/p>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4ee5\u4e0a\u662f\u4e09\u4e2a posting list\u3002\u6211\u4eec\u73b0\u5728\u9700\u8981\u628a\u5b83\u4eec\u7528 AND \u7684\u5173\u7cfb\u5408\u5e76\uff0c\u5f97\u51fa posting list \u7684\u4ea4\u96c6\u3002\u9996\u5148\u9009\u62e9\u6700\u77ed\u7684 posting list\uff0c\u9010\u4e2a\u5728\u53e6\u5916\u4e24\u4e2a posting list \u4e2d\u67e5\u627e\u770b\u662f\u5426\u5b58\u5728\uff0c\u6700\u540e\u5f97\u5230\u4ea4\u96c6\u7684\u7ed3\u679c\u3002\u904d\u5386\u7684\u8fc7\u7a0b\u53ef\u4ee5\u8df3\u8fc7\u4e00\u4e9b\u5143\u7d20\uff0c\u6bd4\u5982\u6211\u4eec\u904d\u5386\u5230\u7eff\u8272\u7684 13 \u7684\u65f6\u5019\uff0c\u5c31\u53ef\u4ee5\u8df3\u8fc7\u84dd\u8272\u7684 3 \u4e86\uff0c\u56e0\u4e3a 3 \u6bd4 13 \u8981\u5c0f\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u7528 skip list \u8fd8\u4f1a\u5e26\u6765\u4e00\u4e2a\u597d\u5904\uff0c\u8fd8\u8bb0\u5f97\u524d\u9762\u8bf4\u7684\u5417\uff0cpostings list \u5728\u78c1\u76d8\u91cc\u9762\u662f\u91c7\u7528 FOR \u7684\u7f16\u7801\u65b9\u5f0f\u5b58\u50a8\u7684\u3002<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; letter-spacing: 0.544px; text-align: justify;\">\n<section style=\"letter-spacing: 0.544px;\">\n<section style=\"margin: 30px auto; padding: 25px 20px; background-color: #f7f7f7;\">\n<section style=\"font-size: 14px; color: #4f4f4f;\" data-preserve-color=\"t\">\u4f1a\u628a\u6240\u6709\u7684\u6587\u6863\u5206\u6210\u5f88\u591a\u4e2a block\uff0c\u6bcf\u4e2a block \u6b63\u597d\u5305\u542b 256 \u4e2a\u6587\u6863\uff0c\u7136\u540e\u5355\u72ec\u5bf9\u6bcf\u4e2a\u6587\u6863\u8fdb\u884c\u589e\u91cf\u7f16\u7801\uff0c\u8ba1\u7b97\u51fa\u5b58\u50a8\u8fd9\u4e2a block \u91cc\u9762\u6240\u6709\u6587\u6863\u6700\u591a\u9700\u8981\u591a\u5c11\u4f4d\u6765\u4fdd\u5b58\u6bcf\u4e2a id\uff0c\u5e76\u4e14\u628a\u8fd9\u4e2a\u4f4d\u6570\u4f5c\u4e3a\u5934\u4fe1\u606f\uff08header\uff09\u653e\u5728\u6bcf\u4e2a block \u7684\u524d\u9762\u3002<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u56e0\u4e3a\u8fd9\u4e2a FOR \u7684\u7f16\u7801\u662f\u6709\u89e3\u538b\u7f29\u6210\u672c\u7684\u3002\u5229\u7528 skip list\uff0c\u9664\u4e86\u8df3\u8fc7\u4e86\u904d\u5386\u7684\u6210\u672c\uff0c\u4e5f\u8df3\u8fc7\u4e86\u89e3\u538b\u7f29\u8fd9\u4e9b\u538b\u7f29\u8fc7\u7684 block \u7684\u8fc7\u7a0b\uff0c\u4ece\u800c\u8282\u7701\u4e86 CPU\u3002<\/section>\n<\/section>\n<\/section>\n<p>&nbsp;<\/p>\n<section data-mpa-template=\"t\">\n<section style=\"margin: 0px; padding: 0px 10px 0px 9px; color: #3c3c3c; font-size: 16px; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; line-height: 1.8; background: #ffffff; z-index: 10000;\">\u603b\u7ed3<\/section>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" style=\"padding: 0px; color: #3c3c3c; font-weight: bold; letter-spacing: 1px; text-align: center; white-space: normal; background-color: #ffffff; font-size: 15px; display: inline-block; left: 0px; transform: rotateX(60deg); height: auto !important; width: 632px !important; visibility: visible !important; margin: 5px !important 0px 0px 0px;\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/10\/wxsync-2021-10-1708fdcac61cedac5979fc1b01e5ac23.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-ratio=\"0.053125\" data-type=\"png\" data-w=\"640\" \/><\/div><\/p>\n<p>&nbsp;<\/p>\n<\/section>\n<section data-mpa-template=\"t\">\n<section data-mpa-template=\"t\">\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e0b\u9762\u6211\u4eec\u6765\u505a\u4e00\u4e2a\u6280\u672f\u603b\u7ed3\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e3a\u4e86\u80fd\u591f\u5feb\u901f\u5b9a\u4f4d\u5230\u76ee\u6807\u6587\u6863\uff0cES \u4f7f\u7528\u5012\u6392\u7d22\u5f15\u6280\u672f\u6765\u4f18\u5316\u641c\u7d22\u901f\u5ea6\uff0c\u867d\u7136\u7a7a\u95f4\u6d88\u8017\u6bd4\u8f83\u5927\uff0c\u4f46\u662f\u641c\u7d22\u6027\u80fd\u63d0\u9ad8\u5341\u5206\u663e\u8457\u3002<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e3a\u4e86\u80fd\u591f\u5728\u6570\u91cf\u5de8\u5927\u7684 terms \u4e2d\u5feb\u901f\u5b9a\u4f4d\u5230\u67d0\u4e00\u4e2a term\uff0c\u540c\u65f6\u8282\u7ea6\u5bf9\u5185\u5b58\u7684\u4f7f\u7528\u548c\u51cf\u5c11\u78c1\u76d8 io \u7684\u8bfb\u53d6\uff0clucene \u4f7f\u7528\u201cterm index -&gt; term dictionary -&gt; postings list\u201d\u7684\u5012\u6392\u7d22\u5f15\u7ed3\u6784\uff0c\u901a\u8fc7 FST \u538b\u7f29\u653e\u5165\u5185\u5b58\uff0c\u8fdb\u4e00\u6b65\u63d0\u9ad8\u641c\u7d22\u6548\u7387\u3002<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e3a\u4e86\u51cf\u5c11 postings list \u7684\u78c1\u76d8\u6d88\u8017\uff0cLucene \u4f7f\u7528\u4e86 FOR\uff08Frame of Reference\uff09\u6280\u672f\u538b\u7f29\uff0c\u5e26\u6765\u7684\u538b\u7f29\u6548\u679c\u5341\u5206\u660e\u663e\u3002<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><span style=\"font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;\">ES \u7684 filter \u8bed\u53e5\u91c7\u7528\u4e86 Roaring Bitmap \u6280\u672f\u6765\u7f13\u5b58\u641c\u7d22\u7ed3\u679c\uff0c\u4fdd\u8bc1\u9ad8\u9891 filter \u67e5\u8be2\u901f\u5ea6\u7684\u540c\u65f6\u964d\u4f4e\u5b58\u50a8\u7a7a\u95f4\u6d88\u8017\u3002<\/span><\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5728\u8054\u5408\u67e5\u8be2\u65f6\uff0c\u5728\u6709 filter cache \u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u76f4\u63a5\u5229\u7528\u4f4d\u56fe\u7684\u539f\u751f\u7279\u6027\u5feb\u901f\u6c42\u4ea4\u5e76\u96c6\u5f97\u5230\u8054\u5408\u67e5\u8be2\u7ed3\u679c\uff0c\u5426\u5219\u4f7f\u7528 skip list \u5bf9\u591a\u4e2a postings list \u6c42\u4ea4\u5e76\u96c6\uff0c\u8df3\u8fc7\u904d\u5386\u6210\u672c\u5e76\u4e14\u8282\u7701\u90e8\u5206\u6570\u636e\u7684\u89e3\u538b\u7f29 CPU \u6210\u672c\u3002<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><strong>Elasticsearch \u7684\u7d22\u5f15\u601d\u8def<\/strong><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u5c06\u78c1\u76d8\u91cc\u7684\u4e1c\u897f\u5c3d\u91cf\u642c\u8fdb\u5185\u5b58\uff0c\u51cf\u5c11\u78c1\u76d8\u968f\u673a\u8bfb\u53d6\u6b21\u6570\uff08\u540c\u65f6\u4e5f\u5229\u7528\u78c1\u76d8\u987a\u5e8f\u8bfb\u7279\u6027\uff09\uff0c\u7ed3\u5408\u5404\u79cd\u538b\u7f29\u7b97\u6cd5\uff0c\u7528\u53ca\u5176\u82db\u523b\u7684\u6001\u5ea6\u4f7f\u7528\u5185\u5b58\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6240\u4ee5\uff0c\u5bf9\u4e8e\u4f7f\u7528 Elasticsearch \u8fdb\u884c\u7d22\u5f15\u65f6\u9700\u8981\u6ce8\u610f\uff1a<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section data-mpa-template=\"t\">\n<section style=\"color: #333333; font-size: 17px; text-align: justify;\" data-mpa-template=\"t\">\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2.2em; width: 577.422px; list-style-type: square;\">\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u4e0d\u9700\u8981\u7d22\u5f15\u7684\u5b57\u6bb5\uff0c\u4e00\u5b9a\u8981\u660e\u786e\u5b9a\u4e49\u51fa\u6765\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u662f\u81ea\u52a8\u5efa\u7d22\u5f15\u7684<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u540c\u6837\u7684\u9053\u7406\uff0c\u5bf9\u4e8e String \u7c7b\u578b\u7684\u5b57\u6bb5\uff0c\u4e0d\u9700\u8981 analysis \u7684\u4e5f\u9700\u8981\u660e\u786e\u5b9a\u4e49\u51fa\u6765\uff0c\u56e0\u4e3a\u9ed8\u8ba4\u4e5f\u662f\u4f1a analysis \u7684<\/p>\n<\/li>\n<li style=\"clear: both;\">\n<p style=\"padding-right: 10px; padding-left: 9px; clear: both; min-height: 1em; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u9009\u62e9\u6709\u89c4\u5f8b\u7684 ID \u5f88\u91cd\u8981\uff0c\u968f\u673a\u6027\u592a\u5927\u7684 ID\uff08\u6bd4\u5982 Java \u7684 UUID\uff09\u4e0d\u5229\u4e8e\u67e5\u8be2<\/p>\n<\/li>\n<\/ul>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u6700\u540e\u8bf4\u4e00\u4e0b\uff0c\u6280\u672f\u9009\u578b\u6c38\u8fdc\u4f34\u968f\u7740\u4e1a\u52a1\u573a\u666f\u7684\u8003\u91cf\uff0c\u6bcf\u79cd\u6570\u636e\u5e93\u90fd\u6709\u81ea\u5df1\u8981\u89e3\u51b3\u7684\u95ee\u9898\uff08\u6216\u8005\u8bf4\u64c5\u957f\u7684\u9886\u57df\uff09\uff0c\u5bf9\u5e94\u7684\u5c31\u6709\u81ea\u5df1\u7684\u6570\u636e\u7ed3\u6784\uff0c\u800c\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u548c\u6570\u636e\u7ed3\u6784\uff0c\u9700\u8981\u7528\u4e0d\u540c\u7684\u7d22\u5f15\uff0c\u624d\u80fd\u8d77\u5230\u6700\u5927\u5316\u52a0\u5feb\u67e5\u8be2\u7684\u76ee\u7684\u3002<\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\"><\/section>\n<section style=\"padding-right: 10px; padding-left: 9px; text-align: justify; font-size: 15px; letter-spacing: 1px; line-height: 1.8; color: #3c3c3c;\">\u8fd9\u7bc7\u6587\u7ae0\u8bb2\u7684\u867d\u662f Lucene \u5982\u4f55\u5b9e\u73b0\u5012\u6392\u7d22\u5f15\uff0c\u5982\u4f55\u7cbe\u6253\u7ec6\u7b97\u6bcf\u4e00\u5757\u5185\u5b58\u3001\u78c1\u76d8\u7a7a\u95f4\u3001\u5982\u4f55\u7528\u8be1\u8c32\u7684\u4f4d\u8fd0\u7b97\u52a0\u5feb\u5904\u7406\u901f\u5ea6\uff0c\u4f46\u5f80\u9ad8\u5904\u601d\u8003\uff0c\u518d\u7c7b\u6bd4\u4e00\u4e0b MySQL\uff0c\u4f60\u5c31\u4f1a\u53d1\u73b0\uff0c\u867d\u7136\u90fd\u662f\u7d22\u5f15\uff0c\u4f46\u662f\u5b9e\u73b0\u8d77\u6765\uff0c\u622a\u7136\u4e0d\u540c\u3002\u7b3c\u7edf\u7684\u6765\u8bf4\uff0cb-tree \u7d22\u5f15\u662f\u4e3a\u5199\u5165\u4f18\u5316\u7684\u7d22\u5f15\u7ed3\u6784\u3002\u5f53\u6211\u4eec\u4e0d\u9700\u8981\u652f\u6301\u5feb\u901f\u7684\u66f4\u65b0\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u7528\u9884\u5148\u6392\u5e8f\u7b49\u65b9\u5f0f\u6362\u53d6\u66f4\u5c0f\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u66f4\u5feb\u7684\u68c0\u7d22\u901f\u5ea6\u7b49\u597d\u5904\uff0c\u5176\u4ee3\u4ef7\u5c31\u662f\u66f4\u65b0\u6162\uff0c\u5c31\u50cf ES\u3002<\/section>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \u6700\u8fd1\u63a5\u89e6\u7684\u51e0\u4e2a\u9879\u76ee\u90fd\u4f7f\u7528\u5230\u4e86 Elasticsearch\uff08\u4ee5\u4e0b\u7b80\u79f0 ES\uff09\u6765\u5b58\u50a8\u6570\u636e\u548c\u5bf9\u6570\u636e\u8fdb\u884c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2988","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/2988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2988"}],"version-history":[{"count":1,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/2988\/revisions"}],"predecessor-version":[{"id":2999,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/2988\/revisions\/2999"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}