{"id":117889,"date":"2019-05-22T12:09:09","date_gmt":"2019-05-22T04:09:09","guid":{"rendered":"http:\/\/www.fagao.me\/?p=117889"},"modified":"2019-05-22T12:09:09","modified_gmt":"2019-05-22T04:09:09","slug":"%e5%85%a8%e6%96%87%e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e9%80%89elasticsearch%e8%bf%98%e6%98%afsolr","status":"publish","type":"post","link":"https:\/\/www.fagao.me\/p\/117889.htm","title":{"rendered":"\u5168\u6587\u641c\u7d22\u5f15\u64ce\u9009ElasticSearch\u8fd8\u662fSolr"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.fagao.me\/images\/uploads\/2017_012.jpg\" alt=\"\"><\/p>\n<div class=\"focusup\"><\/div>\n<p>\u201c <\/p>\n<p><span>\u6700\u8fd1\u9879\u76ee\u7ec4\u5b89\u6392\u4e86\u4e00\u4e2a\u4efb\u52a1\uff0c\u9879\u76ee\u4e2d\u7528\u5230\u4e86\u57fa\u4e8e <span style=\"font-size: 16px;\">Solr \u7684<\/span>\u5168\u6587\u641c\u7d22\uff0c\u4f46\u662f\u8be5 Solr \u641c\u7d22\u4e91\u9879\u76ee\u4e0d\u7a33\u5b9a\uff0c\u7ecf\u5e38\u67e5\u8be2\u4e0d\u51fa\u6765\u6570\u636e\uff0c\u9700\u8981\u624b\u52a8\u5168\u91cf\u540c\u6b65\u3002<\/span><\/p>\n<p style=\"text-align: center;\">\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u800c\u4e14\u5b83\u8fd8\u662f\u5176\u4ed6\u56e2\u961f\u5728\u7ef4\u62a4\uff0c\u4f9d\u8d56\u6027\u592a\u5f3a\uff0c\u5bfc\u81f4 Solr \u670d\u52a1\u4e00\u51fa\u95ee\u9898\uff0c\u6211\u4eec\u7684\u9879\u76ee\u4e5f\u57fa\u672c\u762b\u75ea\uff0c\u56e0\u4e3a\u6240\u6709\u7684\u4f9d\u8d56\u67e5\u8be2\u90fd\u65e0\u7ed3\u679c\u6570\u636e\u4e86\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6240\u4ee5\u8003\u8651\u5f00\u53d1\u4e00\u4e2a\u9002\u914d\u5c42\uff0c\u5982\u679c Solr \u641c\u7d22\u51fa\u95ee\u9898\uff0c\u81ea\u52a8\u5207\u6362\u5230\u65b0\u7684\u641c\u7d22 ES\u3002<\/span><span style=\"font-size: 16px;\">\u5176\u5b9e\u53ef\u4ee5\u901a\u8fc7 Solr \u96c6\u7fa4\u6216\u8005\u670d\u52a1\u5bb9\u9519\u7b49\u8bbe\u8ba1\u6765\u89e3\u51b3\u8be5\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4f46\u662f\u5148\u4e0d\u8003\u8651\u672c\u8eab\u8bbe\u8ba1\u7684\u5408\u7406\u6027\uff0c\u9886\u5bfc\u9700\u8981\u5f00\u53d1\uff0c\u6240\u4ee5\u6211\u5f00\u59cb\u8e0f\u4e0a\u4e86\u642d\u5efa ES \u670d\u52a1\u7684\u9053\u8def\uff0c\u4ece\u96f6\u5f00\u59cb\uff0c\u56e0\u4e3a\u4e4b\u524d\u5b8c\u5168\u6ca1\u63a5\u89e6\u8fc7 ES\uff0c\u6240\u4ee5\u901a\u8fc7\u672c\u7cfb\u5217\u6765\u8bb0\u5f55\u4e0b\u81ea\u5df1\u7684\u5f00\u53d1\u8fc7\u7a0b\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u672c\u7bc7\u6587\u7ae0\u7684\u603b\u4f53\u5185\u5bb9\u5927\u81f4\u5982\u4e0b\u56fe\uff1a<\/span><\/p>\n<p style=\"text-align: justify;\">\n<p style=\"text-align: center;\"><span style=\"font-size: 16px;\"><span>\u7531 ReyCG \u7cbe\u5fc3\u7ed8\u5236\u5e76\u63d0\u4f9b<\/span><\/span><\/p>\n<p>\u4ec0\u4e48\u662f\u5168\u6587\u641c\u7d22<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4ec0\u4e48\u662f\u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff1f<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/51\">\u767e\u5ea6\u767e\u79d1<\/a>\u4e2d\u7684\u5b9a\u4e49\uff1a<\/span><\/p>\n<p><span>\u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u662f\u76ee\u524d\u5e7f\u6cdb\u5e94\u7528\u7684\u4e3b\u6d41<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u3002\u5b83\u7684\u5de5\u4f5c\u539f\u7406\u662f\u8ba1\u7b97\u673a\u7d22\u5f15\u7a0b\u5e8f\u901a\u8fc7\u626b\u63cf\u6587\u7ae0\u4e2d\u7684\u6bcf\u4e00\u4e2a\u8bcd\uff0c\u5bf9\u6bcf\u4e00\u4e2a\u8bcd\u5efa\u7acb\u4e00\u4e2a\u7d22\u5f15\uff0c\u6307\u660e\u8be5\u8bcd\u5728\u6587\u7ae0\u4e2d\u51fa\u73b0\u7684\u6b21\u6570\u548c\u4f4d\u7f6e\uff0c\u5f53\u7528\u6237\u67e5\u8be2\u65f6\uff0c\u68c0\u7d22\u7a0b\u5e8f\u5c31\u6839\u636e\u4e8b\u5148\u5efa\u7acb\u7684\u7d22\u5f15\u8fdb\u884c\u67e5\u627e\uff0c\u5e76\u5c06\u67e5\u627e\u7684\u7ed3\u679c\u53cd\u9988\u7ed9\u7528\u6237\u7684\u68c0\u7d22\u65b9\u5f0f\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u7c7b\u4f3c\u4e8e\u901a\u8fc7\u5b57\u5178\u4e2d\u7684\u68c0\u7d22\u5b57\u8868\u67e5\u5b57\u7684\u8fc7\u7a0b\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4ece\u5b9a\u4e49\u4e2d\u6211\u4eec\u5df2\u7ecf\u53ef\u4ee5\u5927\u81f4\u4e86\u89e3\u5168\u6587\u68c0\u7d22\u7684\u601d\u8def\u4e86\uff0c\u4e3a\u4e86\u66f4\u8be6\u7ec6\u7684\u8bf4\u660e\uff0c\u6211\u4eec\u5148\u4ece\u751f\u6d3b\u4e2d\u7684\u6570\u636e\u8bf4\u8d77\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6211\u4eec\u751f\u6d3b\u4e2d\u7684\u6570\u636e\u603b\u4f53\u5206\u4e3a\u4e24\u79cd\uff1a<\/span><\/p>\n<ul>\n<li>\u7ed3\u6784\u5316\u6570\u636e\uff1a\u6307\u5177\u6709\u56fa\u5b9a\u683c\u5f0f\u6216\u6709\u9650\u957f\u5ea6\u7684\u6570\u636e\uff0c\u5982\u6570\u636e\u5e93\uff0c\u5143\u6570\u636e\u7b49\u3002<\/li>\n<li>\u975e\u7ed3\u6784\u5316\u6570\u636e\uff1a\u975e\u7ed3\u6784\u5316\u6570\u636e\u53c8\u53ef\u79f0\u4e3a\u5168\u6587\u6570\u636e\uff0c\u6307\u4e0d\u5b9a\u957f\u6216\u65e0\u56fa\u5b9a\u683c\u5f0f\u7684\u6570\u636e\uff0c\u5982\u90ae\u4ef6\uff0cWord \u6587\u6863\u7b49\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5f53\u7136\u6709\u7684\u5730\u65b9\u8fd8\u4f1a\u6709\u7b2c\u4e09\u79cd\uff1a\u534a\u7ed3\u6784\u5316\u6570\u636e\uff0c\u5982 XML\uff0cHTML \u7b49\uff0c\u5f53\u6839\u636e\u9700\u8981\u53ef\u6309\u7ed3\u6784\u5316\u6570\u636e\u6765\u5904\u7406\uff0c\u4e5f\u53ef\u62bd\u53d6\u51fa\u7eaf\u6587\u672c\u6309\u975e\u7ed3\u6784\u5316\u6570\u636e\u6765\u5904\u7406\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6839\u636e\u4e24\u79cd\u6570\u636e\u5206\u7c7b\uff0c\u641c\u7d22\u4e5f\u76f8\u5e94\u7684\u5206\u4e3a\u4e24\u79cd\uff1a\u7ed3\u6784\u5316\u6570\u636e\u641c\u7d22\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u641c\u7d22\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5bf9\u4e8e\u7ed3\u6784\u5316\u6570\u636e\uff0c\u6211\u4eec\u4e00\u822c\u90fd\u662f\u53ef\u4ee5\u901a\u8fc7\u5173\u7cfb\u578b\u6570\u636e\u5e93(MySQL\uff0cOracle \u7b49)\u7684 table \u7684\u65b9\u5f0f\u5b58\u50a8\u548c\u641c\u7d22\uff0c\u4e5f\u53ef\u4ee5\u5efa\u7acb\u7d22\u5f15\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5bf9\u4e8e\u975e\u7ed3\u6784\u5316\u6570\u636e\uff0c\u4e5f\u5373\u5bf9\u5168\u6587\u6570\u636e\u7684\u641c\u7d22\u4e3b\u8981\u6709\u4e24\u79cd\u65b9\u6cd5\uff1a<\/span><\/p>\n<ul>\n<li>\u987a\u5e8f\u626b\u63cf<\/li>\n<li>\u5168\u6587\u68c0\u7d22<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u987a\u5e8f\u626b\u63cf\uff1a<\/span><\/strong><span style=\"font-size: 16px;\">\u901a\u8fc7\u6587\u5b57\u540d\u79f0\u4e5f\u53ef\u4e86\u89e3\u5230\u5b83\u7684\u5927\u6982\u641c\u7d22\u65b9\u5f0f\uff0c\u5373\u6309\u7167\u987a\u5e8f\u626b\u63cf\u7684\u65b9\u5f0f\u67e5\u8be2\u7279\u5b9a\u7684\u5173\u952e\u5b57\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4f8b\u5982\u7ed9\u4f60\u4e00\u5f20\u62a5\u7eb8\uff0c\u8ba9\u4f60\u627e\u5230\u8be5\u62a5\u7eb8\u4e2d\u201cRNG\u201d\u7684\u6587\u5b57\u5728\u54ea\u4e9b\u5730\u65b9\u51fa\u73b0\u8fc7\u3002\u4f60\u80af\u5b9a\u9700\u8981\u4ece\u5934\u5230\u5c3e\u628a\u62a5\u7eb8\u9605\u8bfb\u626b\u63cf\u4e00\u904d\uff0c\u7136\u540e\u6807\u8bb0\u51fa\u5173\u952e\u5b57\u5728\u54ea\u4e9b\u7248\u5757\u51fa\u73b0\u8fc7\u4ee5\u53ca\u5b83\u7684\u51fa\u73b0\u4f4d\u7f6e\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8fd9\u79cd\u65b9\u5f0f\u65e0\u7591\u662f\u6700\u8017\u65f6\u7684\u6700\u4f4e\u6548\u7684\uff0c\u5982\u679c\u62a5\u7eb8\u6392\u7248\u5b57\u4f53\u5c0f\uff0c\u800c\u4e14\u7248\u5757\u8f83\u591a\u751a\u81f3\u6709\u591a\u4efd\u62a5\u7eb8\uff0c\u7b49\u4f60\u626b\u63cf\u5b8c\u4f60\u7684\u773c\u775b\u4e5f\u5dee\u4e0d\u591a\u4e86\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u5168\u6587\u68c0\u7d22\uff1a<\/span><\/strong><span style=\"font-size: 16px;\">\u5bf9\u975e\u7ed3\u6784\u5316\u6570\u636e\u987a\u5e8f\u626b\u63cf\u5f88\u6162\uff0c\u6211\u4eec\u662f\u5426\u53ef\u4ee5\u8fdb\u884c\u4f18\u5316\uff1f\u628a\u6211\u4eec\u7684\u975e\u7ed3\u6784\u5316\u6570\u636e\u60f3\u529e\u6cd5\u5f04\u5f97\u6709\u4e00\u5b9a\u7ed3\u6784\u4e0d\u5c31\u884c\u4e86\u5417\uff1f<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5c06\u975e\u7ed3\u6784\u5316\u6570\u636e\u4e2d\u7684\u4e00\u90e8\u5206\u4fe1\u606f\u63d0\u53d6\u51fa\u6765\uff0c\u91cd\u65b0\u7ec4\u7ec7\uff0c\u4f7f\u5176\u53d8\u5f97\u6709\u4e00\u5b9a\u7ed3\u6784\uff0c\u7136\u540e\u5bf9\u6b64\u6709\u4e00\u5b9a\u7ed3\u6784\u7684\u6570\u636e\u8fdb\u884c\u641c\u7d22\uff0c\u4ece\u800c\u8fbe\u5230\u641c\u7d22\u76f8\u5bf9\u8f83\u5feb\u7684\u76ee\u7684\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8fd9\u79cd\u65b9\u5f0f\u5c31\u6784\u6210\u4e86\u5168\u6587\u68c0\u7d22\u7684\u57fa\u672c\u601d\u8def\u3002\u8fd9\u90e8\u5206\u4ece\u975e\u7ed3\u6784\u5316\u6570\u636e\u4e2d\u63d0\u53d6\u51fa\u7684\u7136\u540e\u91cd\u65b0\u7ec4\u7ec7\u7684\u4fe1\u606f\uff0c\u6211\u4eec\u79f0\u4e4b\u7d22\u5f15\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8fd8\u4ee5\u8bfb\u62a5\u7eb8\u4e3a\u4f8b\uff0c\u6211\u4eec\u60f3\u5173\u6ce8\u82f1\u96c4\u8054\u76df S8 \u5168\u7403\u603b\u51b3\u8d5b\u7684\u65b0\u95fb\uff0c\u5047\u5982\u90fd\u662f RNG \u7684\u7c89\u4e1d\uff0c\u5982\u4f55\u5feb\u901f\u627e\u5230 RNG \u65b0\u95fb\u7684\u62a5\u7eb8\u548c\u7248\u5757\u5462\uff1f<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5168\u6587\u68c0\u7d22\u7684\u65b9\u5f0f\u5c31\u662f\uff0c\u5c06\u6240\u6709\u62a5\u7eb8\u4e2d\u6240\u6709\u7248\u5757\u4e2d\u5173\u952e\u5b57\u8fdb\u884c\u63d0\u53d6\uff0c\u5982&#8221;EDG&#8221;\uff0c&#8221;RNG&#8221;\uff0c&#8221;FW&#8221;\uff0c&#8221;\u6218\u961f&#8221;\uff0c&#8221;\u82f1\u96c4\u8054\u76df&#8221;\u7b49\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u7136\u540e\u5bf9\u8fd9\u4e9b\u5173\u952e\u5b57\u5efa\u7acb\u7d22\u5f15\uff0c\u901a\u8fc7\u7d22\u5f15\u6211\u4eec\u5c31\u53ef\u4ee5\u5bf9\u5e94\u5230\u8be5\u5173\u952e\u8bcd\u51fa\u73b0\u7684\u62a5\u7eb8\u548c\u7248\u5757\u3002\u6ce8\u610f\u533a\u522b\u76ee\u5f55<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u3002<\/span><\/p>\n<p>\u4e3a\u4ec0\u4e48\u8981\u7528\u5168\u6587\u641c\u7d22<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4e4b\u524d\uff0c\u6709\u540c\u4e8b\u95ee\u6211\uff0c\u4e3a\u4ec0\u4e48\u8981\u7528<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff1f\u6211\u4eec\u7684\u6240\u6709\u6570\u636e\u5728\u6570\u636e\u5e93\u91cc\u9762\u90fd\u6709\uff0c\u800c\u4e14 Oracle\u3001SQL Server \u7b49\u6570\u636e\u5e93\u91cc\u4e5f\u80fd\u63d0\u4f9b\u67e5\u8be2\u68c0\u7d22\u6216\u8005\u805a\u7c7b\u5206\u6790\u529f\u80fd\uff0c\u76f4\u63a5\u901a\u8fc7\u6570\u636e\u5e93\u67e5\u8be2\u4e0d\u5c31\u53ef\u4ee5\u4e86\u5417\uff1f<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.fagao.me\/images\/uploads\/F001.jpg\" alt=\"\"><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u786e\u5b9e\uff0c\u6211\u4eec\u5927\u90e8\u5206\u7684\u67e5\u8be2\u529f\u80fd\u90fd\u53ef\u4ee5\u901a\u8fc7\u6570\u636e\u5e93\u67e5\u8be2\u83b7\u5f97\uff0c\u5982\u679c\u67e5\u8be2\u6548\u7387\u4f4e\u4e0b\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7\u5efa\u6570\u636e\u5e93\u7d22\u5f15\uff0c\u4f18\u5316 SQL \u7b49\u65b9\u5f0f\u63d0\u5347\u6548\u7387\uff0c\u751a\u81f3\u901a\u8fc7\u5f15\u5165\u7f13\u5b58\u6765\u52a0\u5feb\u6570\u636e\u7684\u8fd4\u56de\u901f\u5ea6\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5982\u679c\u6570\u636e\u91cf\u66f4\u5927\uff0c\u5c31\u53ef\u4ee5\u5206\u5e93\u5206\u8868\u6765\u5206\u62c5\u67e5\u8be2\u538b\u529b\u3002<span style=\"font-size: 16px;\">\u90a3\u4e3a\u4ec0\u4e48\u8fd8\u8981\u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u5462\uff1f<\/span><\/span><span style=\"font-size: 16px;\">\u6211\u4eec\u4e3b\u8981\u4ece\u4ee5\u4e0b\u51e0\u4e2a\u539f\u56e0\u5206\u6790\uff1a<\/span><\/p>\n<p><strong>\u6570\u636e\u7c7b\u578b<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5168\u6587\u7d22\u5f15\u641c\u7d22\u652f\u6301\u975e\u7ed3\u6784\u5316\u6570\u636e\u7684\u641c\u7d22\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5feb\u901f\u641c\u7d22\u5927\u91cf\u5b58\u5728\u7684\u4efb\u4f55\u5355\u8bcd\u6216\u5355\u8bcd\u7ec4\u7684\u975e\u7ed3\u6784\u5316\u6587\u672c\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4f8b\u5982 Google\uff0c\u767e\u5ea6\u7c7b\u7684\u7f51\u7ad9\u641c\u7d22\uff0c\u5b83\u4eec\u90fd\u662f\u6839\u636e\u7f51\u9875\u4e2d\u7684\u5173\u952e\u5b57\u751f\u6210\u7d22\u5f15\uff0c\u6211\u4eec\u5728\u641c\u7d22\u7684\u65f6\u5019\u8f93\u5165\u5173\u952e\u5b57\uff0c\u5b83\u4eec\u4f1a\u5c06\u8be5\u5173\u952e\u5b57\u5373\u7d22\u5f15\u5339\u914d\u5230\u7684\u6240\u6709\u7f51\u9875\u8fd4\u56de\uff1b\u8fd8\u6709\u5e38\u89c1\u7684\u9879\u76ee\u4e2d\u5e94\u7528\u65e5\u5fd7\u7684\u641c\u7d22\u7b49\u7b49\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5bf9\u4e8e\u8fd9\u4e9b\u975e\u7ed3\u6784\u5316\u7684\u6570\u636e\u6587\u672c\uff0c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u641c\u7d22\u4e0d\u662f\u80fd\u5f88\u597d\u7684\u652f\u6301\u3002<\/span><\/p>\n<p><strong>\u7d22\u5f15\u7684\u7ef4\u62a4<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4e00\u822c\u4f20\u7edf\u6570\u636e\u5e93\uff0c\u5168\u6587\u68c0\u7d22\u90fd\u5b9e\u73b0\u7684\u5f88\u9e21\u808b\uff0c\u56e0\u4e3a\u4e00\u822c\u4e5f\u6ca1\u4eba\u7528\u6570\u636e\u5e93\u5b58\u6587\u672c\u5b57\u6bb5\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8fdb\u884c\u5168\u6587\u68c0\u7d22\u9700\u8981\u626b\u63cf\u6574\u4e2a\u8868\uff0c\u5982\u679c\u6570\u636e\u91cf\u5927\u7684\u8bdd\u5373\u4f7f\u5bf9 SQL \u7684\u8bed\u6cd5\u4f18\u5316\uff0c\u4e5f\u6536\u6548\u751a\u5fae\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5efa\u7acb\u4e86\u7d22\u5f15\uff0c\u4f46\u662f\u7ef4\u62a4\u8d77\u6765\u4e5f\u5f88\u9ebb\u70e6\uff0c\u5bf9\u4e8e insert \u548c update \u64cd\u4f5c\u90fd\u4f1a\u91cd\u65b0\u6784\u5efa\u7d22\u5f15\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4ec0\u4e48\u65f6\u5019\u4f7f\u7528\u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff1a<\/span><\/p>\n<ul>\n<li>\u641c\u7d22\u7684\u6570\u636e\u5bf9\u8c61\u662f\u5927\u91cf\u7684\u975e\u7ed3\u6784\u5316\u7684\u6587\u672c\u6570\u636e\u3002<\/li>\n<li>\u6587\u4ef6\u8bb0\u5f55\u91cf\u8fbe\u5230\u6570\u5341\u4e07\u6216\u6570\u767e\u4e07\u4e2a\u751a\u81f3\u66f4\u591a\u3002<\/li>\n<li>\u652f\u6301\u5927\u91cf\u57fa\u4e8e\u4ea4\u4e92\u5f0f\u6587\u672c\u7684\u67e5\u8be2\u3002<\/li>\n<li>\u9700\u8981\u975e\u5e38\u7075\u6d3b\u7684\u5168\u6587\u641c\u7d22\u67e5\u8be2\u3002<\/li>\n<li>\u5bf9\u9ad8\u5ea6\u76f8\u5173\u7684\u641c\u7d22\u7ed3\u679c\u6709\u7279\u6b8a\u9700\u6c42\uff0c\u4f46\u662f\u6ca1\u6709\u53ef\u7528\u7684\u5173\u7cfb\u6570\u636e\u5e93\u53ef\u4ee5\u6ee1\u8db3\u3002<\/li>\n<li>\u5bf9\u4e0d\u540c\u8bb0\u5f55\u7c7b\u578b\u3001\u975e\u6587\u672c\u6570\u636e\u64cd\u4f5c\u6216\u5b89\u5168\u4e8b\u52a1\u5904\u7406\u7684\u9700\u6c42\u76f8\u5bf9\u8f83\u5c11\u7684\u60c5\u51b5\u3002<\/li>\n<\/ul>\n<p>Lucene\uff0cSolr\uff0cElasticSearch \uff1f<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u73b0\u5728\u4e3b\u6d41\u7684<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u5927\u6982\u5c31\u662f\uff1aLucene\uff0cSolr\uff0cElasticSearch\u3002<\/span><\/p>\n<p style=\"text-align: center;\">\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5b83\u4eec\u7684\u7d22\u5f15\u5efa\u7acb\u90fd\u662f\u6839\u636e\u5012\u6392\u7d22\u5f15\u7684\u65b9\u5f0f\u751f\u6210\u7d22\u5f15\uff0c\u4f55\u8c13\u5012\u6392\u7d22\u5f15\uff1f<\/span><\/p>\n<p><span>\u7ef4\u57fa\u767e\u79d1\uff1a\u5012\u6392\u7d22\u5f15\uff08\u82f1\u8bed\uff1aInverted index\uff09\uff0c\u4e5f\u5e38\u88ab\u79f0\u4e3a\u53cd\u5411\u7d22\u5f15\u3001\u7f6e\u5165\u6863\u6848\u6216\u53cd\u5411\u6863\u6848\uff0c\u662f\u4e00\u79cd\u7d22\u5f15\u65b9\u6cd5\uff0c\u88ab\u7528\u6765\u5b58\u50a8\u5728\u5168\u6587\u641c\u7d22\u4e0b\u67d0\u4e2a\u5355\u8bcd\u5728\u4e00\u4e2a\u6587\u6863\u6216\u8005\u4e00\u7ec4\u6587\u6863\u4e2d\u7684\u5b58\u50a8\u4f4d\u7f6e\u7684\u6620\u5c04\u3002\u5b83\u662f\u6587\u6863\u68c0\u7d22\u7cfb\u7edf\u4e2d\u6700\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u3002<\/span><\/p>\n<p><strong>Lucene<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Lucene \u662f\u4e00\u4e2a Java \u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff0c\u5b8c\u5168\u7528 Java \u7f16\u5199\u3002Lucene \u4e0d\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u800c\u662f\u4e00\u4e2a\u4ee3\u7801\u5e93\u548c API\uff0c\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u7528\u4e8e\u5411\u5e94\u7528\u7a0b\u5e8f\u6dfb\u52a0\u641c\u7d22\u529f\u80fd\u3002<\/span><span style=\"font-size: 16px;\">Lucene \u901a\u8fc7\u7b80\u5355\u7684 API \u63d0\u4f9b\u5f3a\u5927\u7684\u529f\u80fd\uff1a<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u53ef\u6269\u5c55\u7684\u9ad8\u6027\u80fd\u7d22\u5f15\uff1a<\/span><\/p>\n<ul>\n<li>\u5728\u73b0\u4ee3\u786c\u4ef6\u4e0a\u8d85\u8fc7 150GB \/\u5c0f\u65f6\u3002<\/li>\n<li>\u5c0f RAM \u8981\u6c42\uff0c\u53ea\u6709 1MB \u5806\u3002<\/li>\n<li>\u589e\u91cf\u7d22\u5f15\u4e0e\u6279\u91cf\u7d22\u5f15\u4e00\u6837\u5feb\u3002<\/li>\n<li>\u7d22\u5f15\u5927\u5c0f\u7ea6\u4e3a\u7d22\u5f15\u6587\u672c\u5927\u5c0f\u7684 20-30\uff05\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5f3a\u5927\uff0c\u51c6\u786e\uff0c\u9ad8\u6548\u7684\u641c\u7d22\u7b97\u6cd5\uff1a<\/span><\/p>\n<ul>\n<li>\u6392\u540d\u641c\u7d22\uff1a\u9996\u5148\u8fd4\u56de\u6700\u4f73\u7ed3\u679c\u3002<\/li>\n<li>\u8bb8\u591a\u5f3a\u5927\u7684\u67e5\u8be2\u7c7b\u578b\uff1a\u77ed\u8bed\u67e5\u8be2\uff0c\u901a\u914d\u7b26\u67e5\u8be2\uff0c\u90bb\u8fd1\u67e5\u8be2\uff0c\u8303\u56f4\u67e5\u8be2\u7b49\u3002<\/li>\n<li>\u73b0\u573a\u641c\u7d22\uff08\u4f8b\u5982\u6807\u9898\uff0c\u4f5c\u8005\uff0c\u5185\u5bb9\uff09\u3002<\/li>\n<li>\u6309\u4efb\u4f55\u5b57\u6bb5\u6392\u5e8f\u3002<\/li>\n<li>\u4f7f\u7528\u5408\u5e76\u7ed3\u679c\u8fdb\u884c\u591a\u7d22\u5f15\u641c\u7d22\u3002<\/li>\n<li>\u5141\u8bb8\u540c\u65f6\u66f4\u65b0\u548c\u641c\u7d22\u3002<\/li>\n<li>\u7075\u6d3b\u7684\u5206\u9762\uff0c\u7a81\u51fa\u663e\u793a\uff0c\u8fde\u63a5\u548c\u7ed3\u679c\u5206\u7ec4\u3002<\/li>\n<li>\u5feb\u901f\uff0c\u5185\u5b58\u6548\u7387\u548c\u9519\u8bef\u5bb9\u5fcd\u7684\u5efa\u8bae\u3002<\/li>\n<li>\u53ef\u63d2\u62d4\u6392\u540d\u6a21\u578b\uff0c\u5305\u62ec\u77e2\u91cf\u7a7a\u95f4\u6a21\u578b\u548c Okapi BM25\u3002<\/li>\n<li>\u53ef\u914d\u7f6e\u5b58\u50a8\u5f15\u64ce\uff08\u7f16\u89e3\u7801\u5668\uff09\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8de8\u5e73\u53f0\u89e3\u51b3\u65b9\u6848\uff1a<\/span><\/p>\n<ul>\n<li>\u4f5c\u4e3a Apache \u8bb8\u53ef\u4e0b\u7684\u5f00\u6e90\u8f6f\u4ef6\u63d0\u4f9b \uff0c\u5141\u8bb8\u60a8\u5728\u5546\u4e1a\u548c\u5f00\u6e90\u7a0b\u5e8f\u4e2d\u4f7f\u7528 Lucene\u3002<\/li>\n<li>100\uff05-pure Java\u3002<\/li>\n<li>\u53ef\u7528\u7684\u5176\u4ed6\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u5b9e\u73b0\u662f\u7d22\u5f15\u517c\u5bb9\u7684\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\uff1a<\/span><\/p>\n<ul>\n<li>\u83b7\u5f97 Apache \u8f6f\u4ef6\u57fa\u91d1\u4f1a\u63d0\u4f9b\u7684\u5f00\u6e90\u8f6f\u4ef6\u9879\u76ee\u7684 Apache \u793e\u533a\u7684\u652f\u6301\u3002<\/li>\n<li>\u4f46\u662f Lucene \u53ea\u662f\u4e00\u4e2a\u6846\u67b6\uff0c\u8981\u5145\u5206\u5229\u7528\u5b83\u7684\u529f\u80fd\uff0c\u9700\u8981\u4f7f\u7528 Java\uff0c\u5e76\u4e14\u5728\u7a0b\u5e8f\u4e2d\u96c6\u6210 Lucene\u3002 \u9700\u8981\u5f88\u591a\u7684\u5b66\u4e60\u4e86\u89e3\uff0c\u624d\u80fd\u660e\u767d\u5b83\u662f\u5982\u4f55\u8fd0\u884c\u7684\uff0c\u719f\u7ec3\u8fd0\u7528 Lucene \u786e\u5b9e\u975e\u5e38\u590d\u6742\u3002<\/li>\n<\/ul>\n<p><strong>Solr<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Apache Solr \u662f\u4e00\u4e2a\u57fa\u4e8e\u540d\u4e3a Lucene \u7684 Java \u5e93\u6784\u5efa\u7684\u5f00\u6e90\u641c\u7d22\u5e73\u53f0\u3002\u5b83\u4ee5\u7528\u6237\u53cb\u597d\u7684\u65b9\u5f0f\u63d0\u4f9b Apache Lucene \u7684\u641c\u7d22\u529f\u80fd\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4f5c\u4e3a\u4e00\u4e2a\u884c\u4e1a\u53c2\u4e0e\u8005\u5df2\u8fd1\u5341\u5e74\uff0c\u5b83\u662f\u4e00\u4e2a\u6210\u719f\u7684\u4ea7\u54c1\uff0c\u62e5\u6709\u5f3a\u5927\u800c\u5e7f\u6cdb\u7684\u7528\u6237\u793e\u533a\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5b83\u63d0\u4f9b\u5206\u5e03\u5f0f\u7d22\u5f15\uff0c\u590d\u5236\uff0c\u8d1f\u8f7d\u5e73\u8861\u67e5\u8be2\u4ee5\u53ca\u81ea\u52a8\u6545\u969c\u8f6c\u79fb\u548c\u6062\u590d\u3002\u5982\u679c\u5b83\u88ab\u6b63\u786e\u90e8\u7f72\u7136\u540e\u7ba1\u7406\u5f97\u597d\uff0c\u5b83\u5c31\u80fd\u591f\u6210\u4e3a\u4e00\u4e2a\u9ad8\u5ea6\u53ef\u9760\uff0c\u53ef\u6269\u5c55\u4e14\u5bb9\u9519\u7684<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5f88\u591a\u4e92\u8054\u7f51\u5de8\u5934\uff0c\u5982 Netflix\uff0ceBay\uff0cInstagram \u548c\u4e9a\u9a6c\u900a\uff08CloudSearch\uff09\u90fd\u4f7f\u7528 Solr\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u7d22\u5f15\u548c\u641c\u7d22\u591a\u4e2a\u7ad9\u70b9\u3002<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.fagao.me\/images\/uploads\/F028.jpg\" alt=\"\"><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4e3b\u8981\u529f\u80fd\u5217\u8868\u5305\u62ec\uff1a<\/span><\/p>\n<ul>\n<li>\u5168\u6587\u641c\u7d22<\/li>\n<li>\u7a81\u51fa<\/li>\n<li>\u5206\u9762\u641c\u7d22<\/li>\n<li>\u5b9e\u65f6\u7d22\u5f15<\/li>\n<li>\u52a8\u6001\u7fa4\u96c6<\/li>\n<li>\u6570\u636e\u5e93\u96c6\u6210<\/li>\n<li>NoSQL \u529f\u80fd\u548c\u4e30\u5bcc\u7684\u6587\u6863\u5904\u7406\uff08\u4f8b\u5982 Word \u548c PDF \u6587\u4ef6\uff09<\/li>\n<\/ul>\n<p><strong>ElasticSearch<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u662f\u4e00\u4e2a\u5f00\u6e90\uff08Apache 2 \u8bb8\u53ef\u8bc1\uff09\uff0c\u57fa\u4e8e Apache Lucene \u5e93\u6784\u5efa\u7684 RESTful <a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u662f\u5728 Solr \u4e4b\u540e\u51e0\u5e74\u63a8\u51fa\u7684\u3002\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5206\u5e03\u5f0f\uff0c\u591a\u79df\u6237\u80fd\u529b\u7684\u5168\u6587<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff0c\u5177\u6709 HTTP Web \u754c\u9762\uff08REST\uff09\u548c\u65e0\u67b6\u6784 JSON \u6587\u6863\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u7684\u5b98\u65b9\u5ba2\u6237\u7aef\u5e93\u63d0\u4f9b Java\uff0cGroovy\uff0cPHP\uff0cRuby\uff0cPerl\uff0cPython\uff0c.NET \u548c Java\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5206\u5e03\u5f0f<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u5305\u62ec\u53ef\u4ee5\u5212\u5206\u4e3a\u5206\u7247\u7684\u7d22\u5f15\uff0c\u5e76\u4e14\u6bcf\u4e2a\u5206\u7247\u53ef\u4ee5\u5177\u6709\u591a\u4e2a\u526f\u672c\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6bcf\u4e2a Elasticsearch \u8282\u70b9\u90fd\u53ef\u4ee5\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u5206\u7247\uff0c\u5176\u5f15\u64ce\u4e5f\u53ef\u4ee5\u5145\u5f53\u534f\u8c03\u5668\uff0c\u5c06\u64cd\u4f5c\u59d4\u6d3e\u7ed9\u6b63\u786e\u7684\u5206\u7247\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u53ef\u901a\u8fc7\u8fd1\u5b9e\u65f6\u641c\u7d22\u8fdb\u884c\u6269\u5c55\u3002\u5176\u4e3b\u8981\u529f\u80fd\u4e4b\u4e00\u662f\u591a\u79df\u6237\u3002<\/span><span style=\"font-size: 16px;\">\u4e3b\u8981\u529f\u80fd\u5217\u8868\u5305\u62ec\uff1a<\/span><\/p>\n<ul>\n<li>\u5206\u5e03\u5f0f\u641c\u7d22<\/li>\n<li>\u591a\u79df\u6237<\/li>\n<li>\u5206\u6790\u641c\u7d22<\/li>\n<li>\u5206\u7ec4\u548c\u805a\u5408<\/li>\n<\/ul>\n<p>Elasticsearch vs Solr \u7684\u9009\u62e9<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u7531\u4e8e Lucene \u7684\u590d\u6742\u6027\uff0c\u4e00\u822c\u5f88\u5c11\u4f1a\u8003\u8651\u5b83\u4f5c\u4e3a\u641c\u7d22\u7684\u7b2c\u4e00\u9009\u62e9\uff0c\u6392\u9664\u4e00\u4e9b\u516c\u53f8\u9700\u8981\u81ea\u7814\u641c\u7d22\u6846\u67b6\uff0c\u5e95\u5c42\u9700\u8981\u4f9d\u8d56 Lucene\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u91cd\u70b9\u5206\u6790<\/span><span style=\"font-size: 16px;\">\u54ea\u4e00\u4e2a\u66f4\u597d\uff1f\u5b83\u4eec\u6709\u4ec0\u4e48\u4e0d\u540c\uff1f\u4f60\u5e94\u8be5\u4f7f\u7528\u54ea\u4e00\u4e2a\uff1f<\/span><\/p>\n<p style=\"text-align: center;\">\n<p><strong>\u5386\u53f2\u6bd4\u8f83<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Apache Solr \u662f\u4e00\u4e2a\u6210\u719f\u7684\u9879\u76ee\uff0c\u62e5\u6709\u5e9e\u5927\u800c\u6d3b\u8dc3\u7684\u5f00\u53d1\u548c\u7528\u6237\u793e\u533a\uff0c\u4ee5\u53ca Apache \u54c1\u724c\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u4e8e 2006 \u5e74\u9996\u6b21\u53d1\u5e03\u5230\u5f00\u6e90\uff0c\u957f\u671f\u4ee5\u6765\u4e00\u76f4\u5360\u636e\u7740<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u9886\u57df\uff0c\u5e76\u4e14\u662f\u4efb\u4f55\u9700\u8981\u641c\u7d22\u529f\u80fd\u7684\u4eba\u7684\u9996\u9009\u5f15\u64ce\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5b83\u7684\u6210\u719f\u8f6c\u5316\u4e3a\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u7b80\u5355\u7684\u6587\u672c\u7d22\u5f15\u548c\u641c\u7d22\uff1b \u5982\u5206\u9762\uff0c\u5206\u7ec4\uff0c\u5f3a\u5927\u7684\u8fc7\u6ee4\uff0c\u53ef\u63d2\u5165\u7684\u6587\u6863\u5904\u7406\uff0c\u53ef\u63d2\u5165\u7684\u641c\u7d22\u94fe\u7ec4\u4ef6\uff0c\u8bed\u8a00\u68c0\u6d4b\u7b49\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u5728\u641c\u7d22\u9886\u57df\u5360\u636e\u4e86\u591a\u5e74\u7684\u4e3b\u5bfc\u5730\u4f4d\u3002\u7136\u540e\uff0c\u5728 2010 \u5e74\u5de6\u53f3\uff0cElasticsearch \u6210\u4e3a\u5e02\u573a\u4e0a\u7684\u53e6\u4e00\u79cd\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u90a3\u65f6\u5019\uff0c\u5b83\u8fdc\u6ca1\u6709 Solr \u90a3\u4e48\u7a33\u5b9a\uff0c\u6ca1\u6709 Solr \u7684\u529f\u80fd\u6df1\u5ea6\uff0c\u6ca1\u6709\u601d\u60f3\u5206\u4eab\uff0c\u54c1\u724c\u7b49\u7b49\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u867d\u7136\u5f88\u5e74\u8f7b\uff0c\u4f46\u5b83\u4e5f\u81ea\u5df1\u7684\u4e00\u4e9b\u4f18\u52bf\uff0cElasticsearch \u5efa\u7acb\u5728\u66f4\u73b0\u4ee3\u7684\u539f\u5219\u4e0a\uff0c\u9488\u5bf9\u66f4\u73b0\u4ee3\u7684\u7528\u4f8b\uff0c\u5e76\u4e14\u662f\u4e3a\u4e86\u66f4\u5bb9\u6613\u5904\u7406\u5927\u578b\u7d22\u5f15\u548c\u9ad8\u67e5\u8be2\u7387\u800c\u6784\u5efa\u7684\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6b64\u5916\uff0c\u7531\u4e8e\u5b83\u592a\u5e74\u8f7b\uff0c\u6ca1\u6709\u793e\u533a\u53ef\u4ee5\u5408\u4f5c\uff0c\u5b83\u53ef\u4ee5\u81ea\u7531\u5730\u5411\u524d\u63a8\u8fdb\uff0c\u800c\u4e0d\u9700\u8981\u4e0e\u5176\u4ed6\u4eba\uff08\u7528\u6237\u6216\u5f00\u53d1\u4eba\u5458\uff09\u8fbe\u6210\u4efb\u4f55\u5171\u8bc6\u6216\u5408\u4f5c\uff0c\u5411\u540e\u517c\u5bb9\uff0c\u6216\u4efb\u4f55\u5176\u4ed6\u66f4\u6210\u719f\u7684\u8f6f\u4ef6\u901a\u5e38\u5fc5\u987b\u5904\u7406\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u56e0\u6b64\uff0c\u5b83\u5728 Solr \u4e4b\u524d\u5c31\u516c\u5f00\u4e86\u4e00\u4e9b\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u529f\u80fd(\u4f8b\u5982\uff0c\u63a5\u8fd1\u5b9e\u65f6\u641c\u7d22\uff0c\u82f1\u6587\uff1aNear Real-Time Search)\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4ece\u6280\u672f\u4e0a\u8bb2\uff0cNRT \u641c\u7d22\u7684\u80fd\u529b\u786e\u5b9e\u6765\u81ea Lucene\uff0c\u5b83\u662f Solr \u548c Elasticsearch \u4f7f\u7528\u7684\u57fa\u7840\u641c\u7d22\u5e93\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5177\u6709\u8bbd\u523a\u610f\u5473\u7684\u662f\uff0c\u56e0\u4e3a Elasticsearch \u9996\u5148\u516c\u5f00\u4e86 NRT \u641c\u7d22\uff0c\u6240\u4ee5\u4eba\u4eec\u5c06 NRT \u641c\u7d22\u4e0e Elasticsearch \u8054\u7cfb\u5728\u4e00\u8d77\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5c3d\u7ba1 Solr \u548c Lucene \u90fd\u662f\u540c\u4e00\u4e2a Apache \u9879\u76ee\u7684\u4e00\u90e8\u5206\uff0c\u4f46\u662f\uff0c\u4eba\u4eec\u4f1a\u9996\u5148\u671f\u671b Solr \u5177\u6709\u5982\u6b64\u9ad8\u8981\u6c42\u7684\u529f\u80fd\u3002<\/span><\/p>\n<p><strong>\u7279\u5f81\u5dee\u5f02\u6bd4\u8f83<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8fd9\u4e24\u4e2a<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u90fd\u662f\u6d41\u884c\u7684\uff0c\u5148\u8fdb\u7684\u7684\u5f00\u6e90<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u3002\u5b83\u4eec\u90fd\u662f\u56f4\u7ed5\u6838\u5fc3\u5e95\u5c42\u641c\u7d22\u5e93 Lucene \u6784\u5efa\u7684\uff0c\u4f46\u5b83\u4eec\u53c8\u662f\u4e0d\u540c\u7684\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u50cf\u6240\u6709\u4e1c\u897f\u4e00\u6837\uff0c\u6bcf\u4e2a\u90fd\u6709\u5176\u4f18\u70b9\u548c\u7f3a\u70b9\uff0c\u6839\u636e\u60a8\u7684\u9700\u6c42\u548c\u671f\u671b\uff0c\u6bcf\u4e2a\u90fd\u53ef\u80fd\u66f4\u597d\u6216\u66f4\u5dee\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u548c Elasticsearch \u90fd\u5728\u5feb\u901f\u53d1\u5c55\uff0c\u6240\u4ee5\uff0c\u8bdd\u4e0d\u591a\u8bf4\uff0c\u5148\u6765\u770b\u4e0b\u5b83\u4eec\u7684\u5dee\u5f02\u6e05\u5355\uff1a<\/span><\/p>\n<p style=\"text-align: center;\">\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4e86\u89e3\u66f4\u591a\uff1a2019\/20190426A\/F0111854 <\/p>\n<p><strong>\u7efc\u5408\u6bd4\u8f83<\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u53e6\u5916\uff0c\u6211\u4eec\u518d\u4ece\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\u6765\u5206\u6790\u4e0b\uff1a<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><strong><span>\u2460\u8fd1\u51e0\u5e74\u7684\u6d41\u884c\u8d8b\u52bf<\/span><\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u6211\u4eec\u67e5\u770b\u4e00\u4e0b\u8fd9\u4e24\u79cd\u4ea7\u54c1\u7684 Google \u641c\u7d22\u8d8b\u52bf\u3002\u8c37\u6b4c\u8d8b\u52bf\u8868\u660e\uff0c\u4e0e Solr \u76f8\u6bd4\uff0cElasticsearch \u5177\u6709\u5f88\u5927\u7684\u5438\u5f15\u529b\uff0c\u4f46\u8fd9\u5e76\u4e0d\u610f\u5473\u7740 Apache Solr \u5df2\u7ecf\u6b7b\u4ea1\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u867d\u7136\u6709\u4e9b\u4eba\u53ef\u80fd\u4e0d\u8fd9\u4e48\u8ba4\u4e3a\uff0c\u4f46 Solr \u4ecd\u7136\u662f\u6700\u53d7\u6b22\u8fce\u7684<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\u4e4b\u4e00\uff0c\u62e5\u6709\u5f3a\u5927\u7684\u793e\u533a\u548c\u5f00\u6e90\u652f\u6301\u3002<\/span><\/p>\n<p style=\"text-align: center;\">\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><strong><span>\u2461\u5b89\u88c5\u548c\u914d\u7f6e<\/span><\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4e0e Solr \u76f8\u6bd4\uff0cElasticsearch \u6613\u4e8e\u5b89\u88c5\u4e14\u975e\u5e38\u8f7b\u5de7\u3002\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u5728\u51e0\u5206\u949f\u5185\u5b89\u88c5\u5e76\u8fd0\u884c Elasticsearch\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u4f46\u662f\uff0c\u5982\u679c Elasticsearch \u7ba1\u7406\u4e0d\u5f53\uff0c\u8fd9\u79cd\u6613\u4e8e\u90e8\u7f72\u548c\u4f7f\u7528\u53ef\u80fd\u4f1a\u6210\u4e3a\u4e00\u4e2a\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u57fa\u4e8e JSON \u7684\u914d\u7f6e\u5f88\u7b80\u5355\uff0c\u4f46\u5982\u679c\u8981\u4e3a\u6587\u4ef6\u4e2d\u7684\u6bcf\u4e2a\u914d\u7f6e\u6307\u5b9a\u6ce8\u91ca\uff0c\u90a3\u4e48\u5b83\u4e0d\u9002\u5408\u60a8\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u603b\u7684\u6765\u8bf4\uff0c\u5982\u679c\u60a8\u7684\u5e94\u7528\u4f7f\u7528\u7684\u662f JSON\uff0c\u90a3\u4e48 Elasticsearch \u662f\u4e00\u4e2a\u66f4\u597d\u7684\u9009\u62e9\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u5426\u5219\uff0c\u8bf7\u4f7f\u7528 Solr\uff0c\u56e0\u4e3a\u5b83\u7684 schema.xml \u548c solrconfig.xml \u90fd\u6709\u5f88\u597d\u7684\u6587\u6863\u8bb0\u5f55\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><strong><span style=\"font-size: 16px;\">\u2462\u793e\u533a<\/span><\/strong><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u62e5\u6709\u66f4\u5927\uff0c\u66f4\u6210\u719f\u7684\u7528\u6237\uff0c\u5f00\u53d1\u8005\u548c\u8d21\u732e\u8005\u793e\u533a\u3002ES \u867d\u62e5\u6709\u7684\u89c4\u6a21\u8f83\u5c0f\u4f46\u6d3b\u8dc3\u7684\u7528\u6237\u793e\u533a\u4ee5\u53ca\u4e0d\u65ad\u589e\u957f\u7684\u8d21\u732e\u8005\u793e\u533a\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u662f\u771f\u6b63\u7684\u5f00\u6e90\u793e\u533a\u4ee3\u8868\u3002\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u4e3a Solr \u505a\u51fa\u8d21\u732e\uff0c\u5e76\u4e14\u6839\u636e\u4f18\u70b9\u9009\u51fa\u65b0\u7684 Solr \u5f00\u53d1\u4eba\u5458\uff08\u4e5f\u79f0\u4e3a\u63d0\u4ea4\u8005\uff09\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u5728\u6280\u672f\u4e0a\u662f\u5f00\u6e90\u7684\uff0c\u4f46\u5728\u7cbe\u795e\u4e0a\u5374\u4e0d\u90a3\u4e48\u91cd\u8981\u3002<\/span><span style=\"font-size: 16px;\">\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u770b\u5230\u6765\u6e90\uff0c\u4efb\u4f55\u4eba\u90fd\u53ef\u4ee5\u66f4\u6539\u5b83\u5e76\u63d0\u4f9b\u8d21\u732e\uff0c\u4f46\u53ea\u6709 Elasticsearch \u7684\u5458\u5de5\u624d\u80fd\u771f\u6b63\u5bf9 Elasticsearch \u8fdb\u884c\u66f4\u6539\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u8d21\u732e\u8005\u548c\u63d0\u4ea4\u8005\u6765\u81ea\u8bb8\u591a\u4e0d\u540c\u7684\u7ec4\u7ec7\uff0c\u800c Elasticsearch \u63d0\u4ea4\u8005\u6765\u81ea\u5355\u4e2a\u516c\u53f8\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><strong><span>\u2463\u6210\u719f\u5ea6<\/span><\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u66f4\u6210\u719f\uff0c\u4f46 ES \u589e\u957f\u8fc5\u901f\uff0c\u6211\u8ba4\u4e3a\u5b83\u7a33\u5b9a\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\"><strong><span>\u2464\u6587\u6863<\/span><\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Solr \u5728\u8fd9\u91cc\u5f97\u5206\u5f88\u9ad8\u3002\u5b83\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u636e\u53ef\u67e5\u7684\u4ea7\u54c1\uff0c\u5177\u6709\u6e05\u6670\u7684\u793a\u4f8b\u548c API \u7528\u4f8b\u573a\u666f\u3002 <\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">Elasticsearch \u7684\u6587\u6863\u7ec4\u7ec7\u826f\u597d\uff0c\u4f46\u5b83\u7f3a\u4e4f\u597d\u7684\u793a\u4f8b\u548c\u6e05\u6670\u7684\u914d\u7f6e\u8bf4\u660e\u3002<\/span><\/p>\n<p>\u603b\u7ed3<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u90a3\u4e48\uff0c\u5230\u5e95\u662f\u9009\u62e9 Solr \u8fd8\u662f Elasticsearch\uff1f\u6709\u65f6\u5f88\u96be\u627e\u5230\u660e\u786e\u7684\u7b54\u6848\u3002\u65e0\u8bba\u60a8\u9009\u62e9 Solr \u8fd8\u662f Elasticsearch\uff0c\u9996\u5148\u9700\u8981\u4e86\u89e3\u6b63\u786e\u7684\u7528\u4f8b\u548c\u672a\u6765\u9700\u6c42\uff0c\u603b\u7ed3\u5b83\u4eec\u7684\u6bcf\u4e2a\u5c5e\u6027\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u8bb0\u4f4f\u4e0b\u9762\u8fd9\u4e9b\u8981\u70b9\uff1a<\/span><\/p>\n<ul>\n<li>\u7531\u4e8e\u6613\u4e8e\u4f7f\u7528\uff0cElasticsearch \u5728\u65b0\u5f00\u53d1\u8005\u4e2d\u66f4\u53d7\u6b22\u8fce\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u5df2\u7ecf\u4e60\u60ef\u4e86\u4e0e Solr \u5408\u4f5c\uff0c\u8bf7\u7ee7\u7eed\u4f7f\u7528\u5b83\uff0c\u56e0\u4e3a\u8fc1\u79fb\u5230 Elasticsearch \u6ca1\u6709\u7279\u5b9a\u7684\u4f18\u52bf\u3002<\/li>\n<li>\u5982\u679c\u9664\u4e86\u641c\u7d22\u6587\u672c\u4e4b\u5916\u8fd8\u9700\u8981\u5b83\u6765\u5904\u7406\u5206\u6790\u67e5\u8be2\uff0cElasticsearch \u662f\u66f4\u597d\u7684\u9009\u62e9\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981\u5206\u5e03\u5f0f\u7d22\u5f15\uff0c\u5219\u9700\u8981\u9009\u62e9 Elasticsearch\u3002\u5bf9\u4e8e\u9700\u8981\u826f\u597d\u53ef\u4f38\u7f29\u6027\u548c\u6027\u80fd\u7684\u4e91\u548c\u5206\u5e03\u5f0f\u73af\u5883\uff0cElasticsearch \u662f\u66f4\u597d\u7684\u9009\u62e9\u3002<\/li>\n<li>\u4e24\u8005\u90fd\u6709\u826f\u597d\u7684\u5546\u4e1a\u652f\u6301\uff08\u54a8\u8be2\uff0c\u751f\u4ea7\u652f\u6301\uff0c\u6574\u5408\u7b49\uff09\u3002<\/li>\n<li>\u4e24\u8005\u90fd\u6709\u5f88\u597d\u7684\u64cd\u4f5c\u5de5\u5177\uff0c\u5c3d\u7ba1 Elasticsearch \u56e0\u5176\u6613\u4e8e\u4f7f\u7528\u7684 API \u800c\u66f4\u591a\u5730\u5438\u5f15\u4e86 DevOps \u4eba\u7fa4\uff0c\u56e0\u6b64\u53ef\u4ee5\u56f4\u7ed5\u5b83\u521b\u5efa\u4e00\u4e2a\u66f4\u52a0\u751f\u52a8\u7684\u5de5\u5177\u751f\u6001\u7cfb\u7edf\u3002<\/li>\n<li>Elasticsearch \u5728\u5f00\u6e90\u65e5\u5fd7\u7ba1\u7406\u7528\u4f8b\u4e2d\u5360\u636e\u4e3b\u5bfc\u5730\u4f4d\uff0c\u8bb8\u591a\u7ec4\u7ec7\u5728 Elasticsearch \u4e2d\u7d22\u5f15\u5b83\u4eec\u7684\u65e5\u5fd7\u4ee5\u4f7f\u5176\u53ef\u641c\u7d22\u3002\u867d\u7136 Solr \u73b0\u5728\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6b64\u76ee\u7684\uff0c\u4f46\u5b83\u53ea\u662f\u9519\u8fc7\u4e86\u8fd9\u4e00\u60f3\u6cd5\u3002<\/li>\n<li>Solr \u4ecd\u7136\u66f4\u52a0\u9762\u5411\u6587\u672c\u641c\u7d22\u3002\u53e6\u4e00\u65b9\u9762\uff0cElasticsearch \u901a\u5e38\u7528\u4e8e\u8fc7\u6ee4\u548c\u5206\u7ec4\uff0c\u5206\u6790\u67e5\u8be2\u5de5\u4f5c\u8d1f\u8f7d\uff0c\u800c\u4e0d\u4e00\u5b9a\u662f\u6587\u672c\u641c\u7d22\u3002 Elasticsearch \u5f00\u53d1\u4eba\u5458\u5728 Lucene \u548c Elasticsearch \u7ea7\u522b\u4e0a\u6295\u5165\u4e86\u5927\u91cf\u7cbe\u529b\u4f7f\u6b64\u7c7b\u67e5\u8be2\u66f4\u9ad8\u6548(\u964d\u4f4e\u5185\u5b58\u5360\u7528\u548c CPU \u4f7f\u7528)\u3002 \u56e0\u6b64\uff0c\u5bf9\u4e8e\u4e0d\u4ec5\u9700\u8981\u8fdb\u884c\u6587\u672c\u641c\u7d22\uff0c\u800c\u4e14\u9700\u8981\u590d\u6742\u7684\u641c\u7d22\u65f6\u95f4\u805a\u5408\u7684\u5e94\u7528\u7a0b\u5e8f\uff0cElasticsearch \u662f\u4e00\u4e2a\u66f4\u597d\u7684\u9009\u62e9\u3002<\/li>\n<li>Elasticsearch \u66f4\u5bb9\u6613\u4e0a\u624b\uff0c\u4e00\u4e2a\u4e0b\u8f7d\u548c\u4e00\u4e2a\u547d\u4ee4\u5c31\u53ef\u4ee5\u542f\u52a8\u4e00\u5207\u3002Solr \u4f20\u7edf\u4e0a\u9700\u8981\u66f4\u591a\u7684\u5de5\u4f5c\u548c\u77e5\u8bc6\uff0c\u4f46 Solr \u6700\u8fd1\u5728\u6d88\u9664\u8fd9\u4e00\u70b9\u4e0a\u53d6\u5f97\u4e86\u5de8\u5927\u7684\u8fdb\u6b65\uff0c\u73b0\u5728\u53ea\u9700\u52aa\u529b\u6539\u53d8\u5b83\u7684\u58f0\u8a89\u3002<\/li>\n<li>\u5728\u6027\u80fd\u65b9\u9762\uff0c\u5b83\u4eec\u5927\u81f4\u76f8\u540c\u3002\u6211\u8bf4\u201c\u5927\u81f4\u201d\uff0c\u56e0\u4e3a\u6ca1\u6709\u4eba\u505a\u8fc7\u5168\u9762\u548c\u65e0\u504f\u89c1\u7684\u57fa\u51c6\u6d4b\u8bd5\u3002\u5bf9\u4e8e 95\uff05 \u7684\u7528\u4f8b\uff0c\u4efb\u4f55\u4e00\u79cd\u9009\u62e9\u5728\u6027\u80fd\u65b9\u9762\u90fd\u4f1a\u5f88\u597d\uff0c\u5269\u4e0b\u7684 5\uff05 \u9700\u8981\u7528\u5b83\u4eec\u7684\u7279\u5b9a\u6570\u636e\u548c\u7279\u5b9a\u7684\u8bbf\u95ee\u6a21\u5f0f\u6765\u6d4b\u8bd5\u8fd9\u4e24\u79cd\u89e3\u51b3\u65b9\u6848\u3002<\/li>\n<li>\u4ece\u64cd\u4f5c\u4e0a\u8bb2\uff0cElasticsearch \u4f7f\u7528\u8d77\u6765\u6bd4\u8f83\u7b80\u5355\uff0c\u5b83\u53ea\u6709\u4e00\u4e2a\u8fdb\u7a0b\u3002Solr \u5728\u5176\u7c7b\u4f3c Elasticsearch \u7684\u5b8c\u5168\u5206\u5e03\u5f0f\u90e8\u7f72\u6a21\u5f0f SolrCloud \u4e2d\u4f9d\u8d56\u4e8e Apache ZooKeeper\uff0cZooKeeper \u662f\u8d85\u7ea7\u6210\u719f\uff0c\u8d85\u7ea7\u5e7f\u6cdb\u4f7f\u7528\u7b49\u7b49\uff0c\u4f46\u5b83\u4ecd\u7136\u662f\u53e6\u4e00\u4e2a\u6d3b\u8dc3\u7684\u90e8\u5206\u3002 \u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f Hadoop\uff0cHBase\uff0cSpark\uff0cKafka \u6216\u5176\u4ed6\u4e00\u4e9b\u8f83\u65b0\u7684\u5206\u5e03\u5f0f\u8f6f\u4ef6\uff0c\u60a8\u53ef\u80fd\u5df2\u7ecf\u5728\u7ec4\u7ec7\u7684\u67d0\u4e2a\u5730\u65b9\u8fd0\u884c ZooKeeper\u3002<\/li>\n<li>\u867d\u7136 Elasticsearch \u5185\u7f6e\u4e86\u7c7b\u4f3c ZooKeeper \u7684\u7ec4\u4ef6 Xen\uff0c\u4f46 ZooKeeper \u53ef\u4ee5\u66f4\u597d\u5730\u9632\u6b62\u6709\u65f6\u5728 Elasticsearch \u96c6\u7fa4\u4e2d\u51fa\u73b0\u7684\u53ef\u6015\u7684\u88c2\u8111\u95ee\u9898\u3002 \u516c\u5e73\u5730\u8bf4\uff0cElasticsearch \u5f00\u53d1\u4eba\u5458\u5df2\u7ecf\u610f\u8bc6\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u5e76\u81f4\u529b\u4e8e\u6539\u8fdb Elasticsearch \u7684\u8fd9\u4e2a\u65b9\u9762\u3002<\/li>\n<li>\u5982\u679c\u60a8\u559c\u6b22\u76d1\u63a7\u548c\u6307\u6807\uff0c\u90a3\u4e48\u4f7f\u7528 Elasticsearch\uff0c\u60a8\u5c06\u4f1a\u8fdb\u5165\u5929\u5802\u3002\u8fd9\u4e2a\u4e1c\u897f\u6bd4\u65b0\u5e74\u524d\u591c\u5728\u65f6\u4ee3\u5e7f\u573a\u53ef\u4ee5\u6324\u538b\u7684\u4eba\u6709\u66f4\u591a\u7684\u6307\u6807\uff01Solr \u66b4\u9732\u4e86\u5173\u952e\u6307\u6807\uff0c\u4f46\u8fdc\u4e0d\u53ca Elasticsearch \u90a3\u4e48\u591a\u3002<\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: 16px;\">\u603b\u4e4b\uff0c\u4e24\u8005\u90fd\u662f\u529f\u80fd\u4e30\u5bcc\u7684<a class=\"tag-links\" href=\"https:\/\/www.fagao.me\/p\/t\/121\">\u641c\u7d22\u5f15\u64ce<\/a>\uff0c\u53ea\u8981\u8bbe\u8ba1\u548c\u5b9e\u73b0\u5f97\u5f53\uff0c\u5b83\u4eec\u6216\u591a\u6216\u5c11\u90fd\u80fd\u63d0\u4f9b\u76f8\u540c\u7684\u6027\u80fd\u3002<\/span><\/p>\n<p style=\"text-align: justify;\"><span><span style=\"font-size: 16px;\">\u4f5c\u8005\uff1a<span>JaJian<\/span><\/span><\/span><\/p>\n<p style=\"text-align: justify;\"><span><span style=\"font-size: 16px;\">\u8f6c\u81ea\uff1a51CTO\u6280\u672f\u6808<\/span><\/span><\/p>\n<p><span style=\"font-size: 16px;\">\u51fa\u5904\uff1ahttps:\/\/www.cnblogs.com\/jajian\/p\/9801154.html<\/span><\/p>\n<div class=\"articleend\"><\/div>\n<p><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u201c \u6700\u8fd1\u9879\u76ee\u7ec4\u5b89\u6392\u4e86\u4e00\u4e2a\u4efb\u52a1\uff0c\u9879\u76ee\u4e2d\u7528\u5230\u4e86\u57fa\u4e8e Solr \u7684\u5168\u6587\u641c\u7d22\uff0c\u4f46\u662f\u8be5 Solr \u641c\u7d22\u4e91\u9879\u76ee\u4e0d\u7a33\u5b9a\uff0c\u7ecf\u5e38 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[121],"class_list":["post-117889","post","type-post","status-publish","format-standard","hentry","category-news","tag-121"],"_links":{"self":[{"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/posts\/117889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/comments?post=117889"}],"version-history":[{"count":0,"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/posts\/117889\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/media?parent=117889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/categories?post=117889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fagao.me\/p\/wp-json\/wp\/v2\/tags?post=117889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}