{"id":44949,"date":"2020-10-28T22:49:48","date_gmt":"2020-10-28T14:49:48","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=44949"},"modified":"2020-10-28T22:50:30","modified_gmt":"2020-10-28T14:50:30","slug":"68d0f294af","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=44949","title":{"rendered":"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<h2 style=\"margin-top: 24px; margin-bottom: 16px; font-weight: 600; font-size: 1.5em; line-height: 1.25; padding-bottom: 0.3em; border-bottom: 1px solid var(--color-border-secondary); color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; text-align: start; white-space: normal; background-color: #ffffff;\">\u573a\u666f<\/h2>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5927\u5bb6\u5982\u679c\u662f\u505a\u540e\u7aef\u5f00\u53d1\u7684\uff0c\u60f3\u5fc5\u90fd\u5b9e\u73b0\u8fc7\u5217\u8868\u67e5\u8be2\u7684\u63a5\u53e3\uff0c\u5f53\u7136\u6709\u7684\u67e5\u8be2\u6761\u4ef6\u5f88\u7b80\u5355\uff0c\u4e00\u6761 SQL \u5c31\u641e\u5b9a\u4e86\uff0c\u4f46\u6709\u7684\u67e5\u8be2\u6761\u4ef6\u6781\u5176\u590d\u6742\uff0c\u518d\u52a0\u4e0a\u5e93\u8868\u4e2d\u8bbe\u8ba1\u7684\u5404\u79cd\u4e0d\u5408\u7406\uff0c\u5bfc\u81f4\u67e5\u8be2\u63a5\u53e3\u7279\u522b\u96be\u5199\uff0c\u7136\u540e\u52a0\u73ed\u4ec0\u4e48\u7684\u5c31\u4e0d\u7528\u8bf4\u4e86\uff08<em>\u4e0d\u77e5\u5404\u4f4d\u6709\u6ca1\u6709\u8fd9\u79cd\u611f\u53d7\u5462~<\/em>\uff09\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4e0b\u9762\u4ee5\u4e00\u4e2a\u4f8b\u5b50\u5f00\u59cb\uff0c\u8fd9\u662f\u67d0\u8d2d\u7269\u7f51\u7ad9\u7684\u641c\u7d22\u6761\u4ef6\uff0c\u5982\u679c\u8ba9\u4f60\u5b9e\u73b0\u8fd9\u6837\u7684\u4e00\u4e2a\u641c\u7d22\u63a5\u53e3\uff0c\u4f60\u4f1a\u5982\u4f55\u5b9e\u73b0\uff1f\uff08<em>\u5f53\u7136\u4f60\u8bf4\u501f\u52a9\u641c\u7d22\u5f15\u64ce\uff0c\u50cf Elasticsearch \u4e4b\u7c7b\u7684\uff0c\u4f60\u5b8c\u5168\u53ef\u4ee5\u5b9e\u73b0\u3002\u4f46\u6211\u8fd9\u91cc\u60f3\u8bf4\u7684\u662f\uff0c\u5982\u679c\u8981\u4f60\u81ea\u5df1\u5b9e\u73b0\u5462\uff1f<\/em>\uff09<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages\" title=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2020\/10\/10-1603896588.png\" alt=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" \/><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4ece\u4e0a\u56fe\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0c\u641c\u7d22\u603b\u5171\u5206\u4e3a6\u5927\u7c7b\uff0c\u6bcf\u5927\u7c7b\u4e2d\u53c8\u5206\u4e86\u5404\u4e2a\u5b50\u7c7b\u3002\u8fd9\u4e2d\u95f4\uff0c\u5404\u5927\u7c7b\u6761\u4ef6\u4e4b\u95f4\u662f\u53d6\u7684\u4ea4\u96c6\uff0c\u5404\u5b50\u7c7b\u4e2d\u6709\u5355\u9009\u3001\u591a\u9009\u3001\u4ee5\u53ca\u81ea\u5b9a\u4e49\u7684\u60c5\u51b5\uff0c\u6700\u7ec8\u8f93\u51fa\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c\u96c6\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u597d\u4e86\uff0c\u65e2\u7136\u9700\u6c42\u5f88\u660e\u786e\u4e86\uff0c\u6211\u4eec\u5c31\u5f00\u59cb\u6765\u5b9e\u73b0\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u5b9e\u73b01<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u7387\u5148\u767b\u573a\u662f\u5c0fA\u540c\u5b66\uff0c\u4ed6\u662f\u5199 SQL \u65b9\u9762\u7684\u201c\u4e13\u5bb6\u201d\u3002\u5c0fA\u4fe1\u5fc3\u6ee1\u6ee1\u7684\u8bf4\uff1a\u201c\u4e0d\u5c31\u662f\u4e00\u4e2a\u67e5\u8be2\u63a5\u53e3\u5417\uff1f\u770b\u7740\u6761\u4ef6\u5f88\u591a\uff0c\u4f46\u51ed\u7740\u6211\u4e30\u5bcc\u7684 SQL \u7ecf\u9a8c\uff0c\u8fd9\u70b9\u8fd8\u662f\u96be\u4e0d\u5012\u6211\u7684\u3002\u201d<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4e8e\u662f\u4e4e\u5c31\u5199\u51fa\u4e86\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\uff08\u8fd9\u91cc\u4ee5 MYSQL \u4e3a\u4f8b\uff09\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">select<\/span> ... <span class=\"code-snippet__keyword\">from<\/span> table_1<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">left<\/span> <span class=\"code-snippet__keyword\">join<\/span> table_2<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">left<\/span> <span class=\"code-snippet__keyword\">join<\/span> table_3<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">left<\/span> <span class=\"code-snippet__keyword\">join<\/span> (<span class=\"code-snippet__keyword\">select<\/span> ... <span class=\"code-snippet__keyword\">from<\/span> table_x <span class=\"code-snippet__keyword\">where<\/span> ...) tmp_1<\/span><\/code><code><span class=\"code-snippet_outer\">...<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">where<\/span> ...<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">order<\/span> <span class=\"code-snippet__keyword\">by<\/span> ...<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">limit<\/span> m,n<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4ee3\u7801\u5728\u6d4b\u8bd5\u73af\u5883\u8dd1\u4e86\u4e00\u628a\uff0c\u7ed3\u679c\u597d\u50cf\u90fd\u5339\u914d\u4e0a\u4e86\uff0c\u4e8e\u662f\u51c6\u5907\u4e0a\u9884\u53d1\u3002\u8fd9\u4e00\u4e0a\u9884\u53d1\uff0c\u95ee\u9898\u5c31\u5f00\u59cb\u66b4\u9732\u51fa\u6765\u3002\u9884\u53d1\u4e3a\u4e86\u5c3d\u53ef\u80fd\u7684\u903c\u771f\u7ebf\u4e0a\u73af\u5883\uff0c\u6240\u4ee5\u6570\u636e\u91cf\u81ea\u7136\u800c\u7136\u8981\u6bd4\u6d4b\u8bd5\u5927\u7684\u591a\u3002\u6240\u4ee5\u8fd9\u4e48\u4e00\u4e2a\u590d\u6742\u7684 SQL\uff0c\u5b83\u7684\u6267\u884c\u6548\u7387\u53ef\u60f3\u800c\u77e5\u3002\u6d4b\u8bd5\u540c\u5b66\u679c\u65ad\u628a\u5c0fA\u7684\u4ee3\u7801\u7ed9\u6253\u4e86\u56de\u6765\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u5b9e\u73b02<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u603b\u7ed3\u4e86\u5c0fA\u5931\u8d25\u7684\u6559\u8bad\uff0c\u5c0fB\u5f00\u59cb\u5bf9SQL\u8fdb\u884c\u4e86\u4f18\u5316\uff0c\u5148\u662f\u901a\u8fc7\u4e86<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">explain<\/code>\u5173\u952e\u5b57\u8fdb\u884cSQL\u6027\u80fd\u5206\u6790\uff0c\u5bf9\u8be5\u52a0\u7d22\u5f15\u7684\u5730\u65b9\u90fd\u52a0\u4e0a\u4e86\u7d22\u5f15\u3002\u540c\u65f6\u5c06\u4e00\u6761\u590d\u6742SQL\u62c6\u5206\u6210\u4e86\u591a\u6761SQL\uff0c\u8ba1\u7b97\u7ed3\u679c\u5728\u7a0b\u5e8f\u5185\u5b58\u4e2d\u8fdb\u884c\u8ba1\u7b97\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4f2a\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<li><\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">$result_1 = query('<span class=\"code-snippet__keyword\">select<\/span> ... <span class=\"code-snippet__keyword\">from<\/span> table_1 <span class=\"code-snippet__keyword\">where<\/span> ...<span class=\"code-snippet__string\">');<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">$result_2 = query('<\/span><span class=\"code-snippet__keyword\">select<\/span> ... <span class=\"code-snippet__keyword\">from<\/span> table_2 <span class=\"code-snippet__keyword\">where<\/span> ...<span class=\"code-snippet__string\">');<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet_outer\">$result_3 = query('<\/span><span class=\"code-snippet__keyword\">select<\/span> ... <span class=\"code-snippet__keyword\">from<\/span> table_3 <span class=\"code-snippet__keyword\">where<\/span> ...<span class=\"code-snippet__string\">');<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">...<\/span><\/code><code><span class=\"code-snippet_outer\">\n<\/span><\/code><code><span class=\"code-snippet_outer\">$result = array_intersect($result_1, $result_2, $result_3, ...);<\/span><\/code><\/pre>\n<\/section>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u79cd\u65b9\u6848\u4ece\u6027\u80fd\u4e0a\u660e\u663e\u6bd4\u7b2c\u4e00\u79cd\u8981\u597d\u5f88\u591a\uff0c\u53ef\u662f\u5728\u529f\u80fd\u9a8c\u6536\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u7ecf\u7406\u8fd8\u662f\u89c9\u5f97\u67e5\u8be2\u901f\u5ea6\u4e0d\u591f\u5feb\u3002\u5c0fB\u81ea\u5df1\u4e5f\u77e5\u9053\uff0c\u6bcf\u6b21\u67e5\u8be2\u90fd\u4f1a\u5411\u6570\u636e\u5e93\u67e5\u8be2\u591a\u6b21\uff0c\u800c\u4e14\u6709\u4e9b\u5386\u53f2\u539f\u56e0\uff0c\u90e8\u5206\u6761\u4ef6\u662f\u505a\u4e0d\u5230\u5355\u8868\u67e5\u8be2\u7684\uff0c\u6240\u4ee5\u67e5\u8be2\u7b49\u5f85\u7684\u65f6\u95f4\u662f\u907f\u514d\u4e0d\u4e86\u7684\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u5b9e\u73b03<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5c0fC\u4ece\u4e0a\u9762\u7684\u65b9\u6848\u4e2d\u770b\u5230\u4e86\u4f18\u5316\u7684\u7a7a\u95f4\u3002\u4ed6\u53d1\u73b0\u5c0fB\u5728\u601d\u8def\u4e0a\u662f\u6ca1\u95ee\u9898\u7684\uff0c\u5c06\u590d\u6742\u6761\u4ef6\u62c6\u5206\uff0c\u8ba1\u7b97\u5404\u4e2a\u5b50\u7ef4\u5ea6\u7684\u7ed3\u679c\u96c6\uff0c\u6700\u540e\u5c06\u6240\u6709\u7684\u5b50\u7ed3\u679c\u96c6\u8fdb\u884c\u4e00\u4e2a\u6c47\u603b\u5408\u5e76\uff0c\u5f97\u5230\u6700\u7ec8\u60f3\u8981\u7684\u7ed3\u679c\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u4e8e\u662f\u4ed6\u7a81\u53d1\u5947\u60f3\uff0c\u80fd\u5426\u4e8b\u5148\u5c06\u5404\u4e2a\u5b50\u7ef4\u5ea6\u7684\u7ed3\u679c\u96c6\u7ed9\u7f13\u5b58\u8d77\u6765\uff0c\u8fd9\u8981\u67e5\u8be2\u7684\u65f6\u5019\u76f4\u63a5\u53bb\u53d6\u60f3\u8981\u7684\u5b50\u96c6\uff0c\u800c\u4e0d\u7528\u6bcf\u6b21\u53bb\u67e5\u5e93\u8ba1\u7b97\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u91cc\u5c0fC\u91c7\u7528 Redis \u6765\u5b58\u50a8\u7f13\u5b58\u6570\u636e\uff0c\u7528\u5b83\u7684\u4e3b\u8981\u539f\u56e0\u662f\uff0c\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\uff0c\u5e76\u4e14\u5728 Redis \u4e2d\u8fdb\u884c\u96c6\u5408\u7684\u4ea4\u5e76\u96c6\u64cd\u4f5c\u662f\u4e00\u4ef6\u5f88\u5bb9\u6613\u7684\u4e8b\u60c5\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5177\u4f53\u65b9\u6848\uff0c\u5982\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages\" title=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2020\/10\/0-1603896588.png\" alt=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" \/><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u91cc\u6bcf\u4e2a\u6761\u4ef6\u90fd\u4e8b\u5148\u5c06\u8ba1\u7b97\u597d\u7684\u7ed3\u679c\u96c6ID\u5b58\u5165\u5bf9\u5e94\u7684key\u4e2d\uff0c\u9009\u7528\u7684\u6570\u636e\u7ed3\u6784\u662f\u96c6\u5408\uff08Set\uff09\u3002\u67e5\u8be2\u64cd\u4f5c\u5305\u62ec\uff1a<\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\n<li>\u5b50\u7c7b\u5355\u9009\uff1a\u76f4\u63a5\u6839\u636e\u6761\u4ef6 key\uff0c\u83b7\u53d6\u5bf9\u5e94\u7ed3\u679c\u96c6\uff1b<\/li>\n<li style=\"margin-top: 0.25em;\">\u5b50\u7c7b\u591a\u9009\uff1a\u6839\u636e\u591a\u4e2a\u6761\u4ef6 Key\uff0c\u8fdb\u884c\u5e76\u96c6\u64cd\u4f5c\uff0c\u83b7\u53d6\u5bf9\u5e94\u7ed3\u679c\u96c6\uff1b<\/li>\n<li style=\"margin-top: 0.25em;\">\u6700\u7ec8\u7ed3\u679c\uff1a\u5c06\u83b7\u53d6\u7684\u6240\u6709\u5b50\u7c7b\u7ed3\u679c\u96c6\u8fdb\u884c\u4ea4\u96c6\u64cd\u4f5c\uff0c\u5f97\u5230\u6700\u7ec8\u7ed3\u679c\uff1b<\/li>\n<\/ul>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><em><span style=\"font-weight: 600;\">\u8fd9\u5176\u5b9e\u5c31\u662f\u6240\u8c13\u7684\u53cd\u5411\u7d22\u5f15\u3002<\/span><\/em><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u91cc\u4f1a\u53d1\u73b0\uff0c\u6f0f\u4e86\u4e00\u4e2a\u4ef7\u683c\u7684\u6761\u4ef6\u3002\u4ece\u9700\u6c42\u4e2d\u53ef\u77e5\uff0c\u4ef7\u683c\u6761\u4ef6\u662f\u4e2a\u533a\u95f4\uff0c\u5e76\u4e14\u662f\u65e0\u7a77\u4e3e\u7684\u3002\u6240\u4ee5\u4e0a\u8ff0\u7684\u8fd9\u79cd\u7a77\u4e3e\u6761\u4ef6\u7684 Key-Value \u65b9\u5f0f\u662f\u505a\u4e0d\u5230\u7684\u3002\u8fd9\u91cc\u6211\u4eec\u91c7\u7528 Redis \u7684\u53e6\u4e00\u79cd\u6570\u636e\u7ed3\u6784\u8fdb\u884c\u5b9e\u73b0\uff0c\u6709\u5e8f\u96c6\u5408\uff08Sorted Set\uff09\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages\" title=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2020\/10\/3-1603896588.png\" alt=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" \/><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5c06\u6240\u6709\u5546\u54c1\u52a0\u5165 Key \u4e3a\u4ef7\u683c\u7684\u6709\u5e8f\u96c6\u5408\u4e2d\uff0c\u503c\u4e3a\u5546\u54c1ID\uff0c\u6bcf\u4e2a\u503c\u5bf9\u5e94\u7684\u5206\u6570\u4e3a\u5546\u54c1\u4ef7\u683c\u7684\u6570\u503c\u3002\u8fd9\u6837\u5728 Redis \u7684\u6709\u5e8f\u96c6\u5408\u4e2d\u5c31\u53ef\u4ee5\u901a\u8fc7<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">ZRANGEBYSCORE<\/code>\u547d\u4ee4\uff0c\u6839\u636e\u5206\u6570\uff08\u4ef7\u683c\uff09\u533a\u95f4\uff0c\u83b7\u53d6\u76f8\u5e94\u7ed3\u679c\u96c6\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u81f3\u6b64\uff0c\u65b9\u6848\u4e09\u7684\u4f18\u5316\u5df2\u5168\u90e8\u7ed3\u675f\uff0c\u5c06\u6570\u636e\u7684\u67e5\u8be2\u4e0e\u8ba1\u7b97\u901a\u8fc7\u7f13\u5b58\u7684\u624b\u6bb5\uff0c\u8fdb\u884c\u4e86\u5206\u79bb\u3002\u5728\u6bcf\u6b21\u67e5\u627e\u65f6\uff0c\u53ea\u9700\u8981\u7b80\u5355\u7684\u67e5\u627e Redis \u51e0\u6b21\u5c31\u80fd\u5f97\u51fa\u7ed3\u679c\u3002\u67e5\u8be2\u901f\u5ea6\u4e0a\u7b26\u5408\u4e86\u9a8c\u6536\u7684\u8981\u6c42\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u6269\u5c55<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"list-style-type: disc;\">\n<li>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.25em; font-weight: 600;\">\u5206\u9875<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u91cc\u4f60\u6216\u8bb8\u53d1\u73b0\u4e86\u4e00\u4e2a\u4e25\u91cd\u7684\u529f\u80fd\u7f3a\u9677\uff0c\u5217\u8868\u67e5\u8be2\u600e\u4e48\u80fd\u6ca1\u6709\u5206\u9875\u3002\u662f\u7684\uff0c\u6211\u4eec\u9a6c\u4e0a\u6765\u770b Redis \u662f\u5982\u4f55\u5b9e\u73b0\u5206\u9875\u7684\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5206\u9875\u4e3b\u8981\u6d89\u53ca\u6392\u5e8f\uff0c\u8fd9\u91cc\u7b80\u5355\u8d77\u89c1\uff0c\u5c31\u4ee5\u521b\u5efa\u65f6\u95f4\u4e3a\u4f8b\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5982\u56fe\u6240\u793a\uff1a<\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages\" title=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2020\/10\/2-1603896588.png\" alt=\"\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\" \/><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u56fe\u4e2d\u84dd\u8272\u90e8\u5206\u662f\u4ee5\u521b\u5efa\u65f6\u95f4\u4e3a\u5206\u503c\u7684\u5546\u54c1\u6709\u5e8f\u96c6\u5408\uff0c\u84dd\u8272\u4e0b\u65b9\u7684\u7ed3\u679c\u96c6\u5373\u4e3a\u6761\u4ef6\u8ba1\u7b97\u800c\u5f97\u7684\u7ed3\u679c\uff0c\u901a\u8fc7<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">ZINTERSTORE<\/code>\u547d\u4ee4\uff0c\u8d4b\u7ed3\u679c\u96c6\u6743\u91cd\u4e3a0\uff0c\u5546\u54c1\u65f6\u95f4\u7ed3\u679c\u4e3a1\uff0c\u53d6\u4ea4\u96c6\u800c\u5f97\u7684\u7ed3\u679c\u96c6\u8d4b\u4e88\u521b\u5efa\u65f6\u95f4\u5206\u503c\u7684\u65b0\u6709\u5e8f\u96c6\u5408\u3002\u5bf9\u65b0\u7ed3\u679c\u96c6\u7684\u64cd\u4f5c\u5373\u80fd\u5f97\u5230\u5206\u9875\u6240\u9700\u7684\u5404\u4e2a\u6570\u636e\uff1a<\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\n<li>\u9875\u9762\u603b\u6570\u4e3a\uff1a<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">ZCOUNT<\/code>\u547d\u4ee4<\/li>\n<li style=\"margin-top: 0.25em;\">\u5f53\u524d\u9875\u5185\u5bb9\uff1a<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">ZRANGE<\/code>\u547d\u4ee4<\/li>\n<li style=\"margin-top: 0.25em;\">\u82e5\u4ee5\u5012\u5e8f\u6392\u5217\uff1a<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">ZREVRANGE<\/code>\u547d\u4ee4<\/li>\n<li style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.25em; font-weight: 600;\">\u6570\u636e\u66f4\u65b0<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u5173\u4e8e\u7d22\u5f15\u6570\u636e\u66f4\u65b0\u7684\u95ee\u9898\uff0c\u6709\u4e24\u79cd\u65b9\u5f0f\u6765\u8fdb\u884c\u3002\u4e00\u79cd\u662f\u901a\u8fc7\u5546\u54c1\u6570\u636e\u7684\u4fee\u6539\uff0c\u6765\u5373\u65f6\u89e6\u53d1\u66f4\u65b0\u64cd\u4f5c\uff0c\u4e00\u79cd\u662f\u901a\u8fc7\u5b9a\u65f6\u811a\u672c\u6765\u8fdb\u884c\u6279\u91cf\u66f4\u65b0\u3002\u8fd9\u91cc\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5173\u4e8e\u7d22\u5f15\u5185\u5bb9\u7684\u66f4\u65b0\uff0c\u5982\u679c\u66b4\u529b\u7684\u5220\u9664 Key\uff0c\u518d\u91cd\u65b0\u8bbe\u7f6e Key\u3002\u56e0\u4e3a Redis \u4e2d\u4e24\u4e2a\u64cd\u4f5c\u4e0d\u4f1a\u662f\u539f\u5b50\u6027\u8fdb\u884c\u7684\uff0c\u6240\u4ee5\u4e2d\u95f4\u53ef\u80fd\u5b58\u5728\u7a7a\u767d\u95f4\u9699\uff0c\u5efa\u8bae\u91c7\u7528\u4ec5\u79fb\u9664\u96c6\u5408\u4e2d\u5931\u6548\u5143\u7d20\uff0c\u6dfb\u52a0\u65b0\u5143\u7d20\u7684\u65b9\u5f0f\u8fdb\u884c\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.25em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u6027\u80fd\u4f18\u5316<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">Redis \u662f\u5185\u5b58\u7ea7\u64cd\u4f5c\uff0c\u6240\u4ee5\u5355\u6b21\u7684\u67e5\u8be2\u4f1a\u5f88\u5feb\u3002\u4f46\u662f\u5982\u679c\u6211\u4eec\u7684\u5b9e\u73b0\u4e2d\u4f1a\u8fdb\u884c\u591a\u6b21\u7684 Redis \u64cd\u4f5c\uff0cRedis \u7684\u591a\u6b21\u8fde\u63a5\u65f6\u95f4\u53ef\u80fd\u662f\u4e0d\u5fc5\u8981\u65f6\u95f4\u6d88\u8017\u3002\u901a\u8fc7\u4f7f\u7528<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">MULTI<\/code>\u547d\u4ee4\uff0c\u5f00\u542f\u4e00\u4e2a\u4e8b\u52a1\uff0c\u5c06 Redis \u7684\u591a\u6b21\u64cd\u4f5c\u653e\u5728\u4e00\u4e2a\u4e8b\u52a1\u4e2d\uff0c\u6700\u540e\u901a\u8fc7<code style=\"font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13.6px; padding: 0.2em 0.4em; background-color: var(--color-markdown-code-bg); border-radius: 6px;\">EXEC<\/code>\u6765\u8fdb\u884c\u539f\u5b50\u6027\u6267\u884c\uff08<em><span style=\"font-weight: 600;\">\u6ce8\u610f\uff1a\u8fd9\u91cc\u6240\u8c13\u7684\u4e8b\u52a1\uff0c\u53ea\u662f\u5c06\u591a\u4e2a\u64cd\u4f5c\u5728\u4e00\u6b21\u8fde\u63a5\u4e2d\u6267\u884c\uff0c\u5982\u679c\u6267\u884c\u8fc7\u7a0b\u4e2d\u9047\u5230\u5931\u8d25\uff0c\u662f\u4e0d\u4f1a\u56de\u6eda\u7684<\/span><\/em>\uff09\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u00a0<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 1.5em; font-weight: 600;\">\u603b\u7ed3<\/span><\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\u8fd9\u91cc\u53ea\u662f\u4e00\u4e2a\u91c7\u7528 Redis \u4f18\u5316\u67e5\u8be2\u641c\u7d22\u7684\u4e00\u4e2a\u7b80\u5355 Demo\uff0c\u548c\u73b0\u6709\u7684\u5f00\u6e90\u641c\u7d22\u5f15\u64ce\u76f8\u6bd4\uff0c\u5b83\u66f4\u8f7b\u91cf\uff0c\u5b66\u4e60\u6210\u672c\u9875\u76f8\u5e94\u4f4e\u4e9b\u3002\u5176\u6b21\uff0c\u5b83\u7684\u4e00\u4e9b\u601d\u60f3\u4e0e\u5f00\u6e90\u641c\u7d22\u5f15\u64ce\u662f\u7c7b\u4f3c\u7684\uff0c\u5982\u679c\u518d\u52a0\u4e0a\u8bcd\u8bed\u89e3\u6790\uff0c\u4e5f\u53ef\u4ee5\u5b9e\u73b0\u7c7b\u4f3c\u5168\u6587\u68c0\u7d22\u7684\u529f\u80fd\u3002<\/p>\n<p style=\"margin-bottom: 16px; color: #24292e; font-family: -apple-system, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'; font-size: 16px; text-align: start; white-space: normal; background-color: #ffffff;\">\n<p style=\"margin-top: 25px; margin-right: 14px; margin-bottom: 25px; white-space: normal; max-width: 100%; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; background: #ffffff; line-height: 2em; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><strong style=\"letter-spacing: 0.544px; color: #3e3e3e; max-width: 100%; font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 16.3636px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\u00b7END\u00b7<\/strong><\/p>\n<section style=\"white-space: normal; max-width: 100%; color: #3e3e3e; font-size: 16px; line-height: 25.6px; background-color: #ffffff; font-family: \u5fae\u8f6f\u96c5\u9ed1; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; box-sizing: border-box !important; overflow-wrap: break-word !important;\">\n<section style=\"max-width: 100%; white-space: normal; color: #3e3e3e; font-size: 16px; line-height: 25.6px; background-color: #ffffff; font-family: \u5fae\u8f6f\u96c5\u9ed1; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<hr style=\"max-width: 100%; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; border-style: solid; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-color: rgba(0, 0, 0, 0.1); transform-origin: 0px 0px; transform: scale(1, 0.5); overflow-wrap: break-word !important; box-sizing: border-box !important;\" \/>\n<p style=\"margin-top: 10px; margin-bottom: 10px; max-width: 100%; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; text-align: center; line-height: 2em; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; color: #3f3f3f; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; letter-spacing: 0.544px; text-align: left; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; color: #a0a0a0; font-family: \u5fae\u8f6f\u96c5\u9ed1; letter-spacing: 0.544px; text-align: center; widows: 1; word-spacing: 2px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; line-height: 25.6px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<blockquote style=\"margin-bottom: 20px; padding: 10px 20px 10px 15px; border-left-width: 5px; border-left-color: #d6dbdf; max-width: 100%; background-color: rgba(112, 138, 153, 0.098); overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<p style=\"max-width: 100%; min-height: 1em; text-align: left; overflow-wrap: break-word !important; box-sizing: border-box !important;\"><span style=\"max-width: 100%; font-size: 13px; letter-spacing: 0.544px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\u4f5c\u8005\uff1a<\/span><span style=\"max-width: 100%; font-size: 13px; letter-spacing: 0.544px; overflow-wrap: break-word !important; box-sizing: border-box !important;\"><span style=\"color: #9a9a9a; font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 13px; letter-spacing: 0.544px; text-align: left; widows: 1; word-spacing: 2px; background-color: rgba(112, 138, 153, 0.098);\">jason<\/span><span style=\"color: #9a9a9a; font-family: \u5fae\u8f6f\u96c5\u9ed1; font-size: 13px; letter-spacing: 0.544px; text-align: left; widows: 1; word-spacing: 2px; background-color: rgba(112, 138, 153, 0.098);\">Geng88<\/span><\/span><\/p>\n<p style=\"max-width: 100%; min-height: 1em; text-align: left; overflow-wrap: break-word !important; box-sizing: border-box !important;\"><span style=\"max-width: 100%; font-size: 13px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\u6765\u6e90\uff1ahttps:\/\/github.com\/jasonGeng88\/blog\/blob\/master\/201706\/redis-search.md<\/span><\/p>\n<\/blockquote>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<section style=\"padding-right: 10px; padding-left: 10px; max-width: 100%; text-align: center; font-family: -apple-system-font, system-ui, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.5px; widows: 1; word-spacing: 2px; overflow-wrap: break-word !important; box-sizing: border-box !important;\">\n<section style=\"max-width: 100%; letter-spacing: 0.544px; color: #a0a0a0; font-family: \u5fae\u8f6f\u96c5\u9ed1; overflow-wrap: break-word !important; box-sizing: border-box !important;\"><\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u573a\u666f \u5927\u5bb6\u5982\u679c\u662f\u505a\u540e\u7aef\u5f00\u53d1\u7684\uff0c\u60f3\u5fc5\u90fd\u5b9e\u73b0\u8fc7\u5217\u8868\u67e5\u8be2\u7684\u63a5\u53e3\uff0c\u5f53\u7136\u6709\u7684\u67e5\u8be2\u6761\u4ef6\u5f88\u7b80\u5355\uff0c\u4e00\u6761 SQL \u5c31\u641e\u5b9a\u4e86\uff0c\u4f46\u6709 &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=44949\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u4e00\u6b65\u6b65\u5b9e\u73b0 Redis \u641c\u7d22\u5f15\u64ce\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[796,99],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/44949"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=44949"}],"version-history":[{"count":2,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/44949\/revisions"}],"predecessor-version":[{"id":44957,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/44949\/revisions\/44957"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44949"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}