{"id":1822,"date":"2017-08-22T14:11:56","date_gmt":"2017-08-22T06:11:56","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1822"},"modified":"2017-08-22T14:11:56","modified_gmt":"2017-08-22T06:11:56","slug":"lucene%e7%9a%84%e7%b4%a2%e5%bc%95index%e9%87%8c%e9%9d%a2%e7%a9%b6%e7%ab%9f%e5%ad%98%e4%ba%9b%e4%bb%80%e4%b9%88%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1822","title":{"rendered":"Lucene\u7684\u7d22\u5f15(Index)\u91cc\u9762\u7a76\u7adf\u5b58\u4e9b\u4ec0\u4e48\uff1f"},"content":{"rendered":"<p>\n\t\u524d\u9762\u7684\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5b66\u4e60\u4e86 <a href=\"http:\/\/www.xttblog.com\/?p=1820\" name=\"Lucene \u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236\" target=\"_blank\" title=\"Lucene \u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236\">Lucene \u7684\u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236<\/a>\u3002\u5e76\u4ece\u4e2d\u4e86\u89e3\u5230 <a href=\"http:\/\/lucene.apache.org\/core\/\" name=\"Lucene\" target=\"_blank\" title=\"Lucene\">Lucene<\/a> \u63d0\u4f9b\u7684\u5168\u6587\u68c0\u7d22\u4e3b\u8981\u7528\u5230\u4e86\uff0c\u7d22\u5f15\u7684\u521b\u5efa\u548c\u7d22\u5f15\u7684\u68c0\u7d22\u3002\u4f46\u662f Lucene \u4e2d\u7684\u7d22\u5f15\u5230\u5e95\u5b58\u50a8\u7684\u662f\u4ec0\u4e48\u5462\uff1f\u4e3a\u4ec0\u4e48\u5b83\u80fd\u8fd9\u4e48\u5feb\u5462\uff1f\u672c\u6587\u5c06\u4e3a\u4f60\u63ed\u5f00 Lucene \u7d22\u5f15\u7684\u795e\u79d8\u9762\u7eb1\uff0c\u5e76\u8bb2\u8ff0<a href=\"https:\/\/baike.baidu.com\/item\/\u53cd\u5411\u952e\u7d22\u5f15?fromtitle=\u53cd\u5411\u7d22\u5f15&amp;fromid=15485829\" name=\"\u53cd\u5411\u952e\u7d22\u5f15\" target=\"_blank\" title=\"\u53cd\u5411\u952e\u7d22\u5f15\">\u53cd\u5411\u7d22\u5f15<\/a>\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"Lucene \u5168\u6587\u68c0\u7d22\u8fc7\u7a0b\" src=\"http:\/\/ocuzluml6.bkt.clouddn.com\/lucene001.jpg\" style=\"width: 708px;height: 575px\" \/>\n<\/p>\n<h2>\n\t\u7d22\u5f15\u91cc\u9762\u7a76\u7adf\u9700\u8981\u5b58\u4e9b\u4ec0\u4e48\u5462\uff1f<br \/>\n<\/h2>\n<p>\n\t\u9996\u5148\u6211\u4eec\u6765\u770b\u4e3a\u4ec0\u4e48\u987a\u5e8f\u626b\u63cf\u7684\u901f\u5ea6\u6162\u3002\u5176\u5b9e\u662f\u7531\u4e8e\u6211\u4eec\u60f3\u8981\u641c\u7d22\u7684\u4fe1\u606f\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u4e2d\u6240\u5b58\u50a8\u7684\u4fe1\u606f\u4e0d\u4e00\u81f4\u9020\u6210\u7684\u3002\n<\/p>\n<p>\n\t\u975e\u7ed3\u6784\u5316\u6570\u636e\u4e2d\u6240\u5b58\u50a8\u7684\u4fe1\u606f\u662f\u6bcf\u4e2a\u6587\u4ef6\u5305\u542b\u54ea\u4e9b\u5b57\u7b26\u4e32\uff0c\u4e5f\u5373\u5df2\u77e5\u6587\u4ef6\uff0c\u6b32\u6c42\u5b57\u7b26\u4e32\u76f8\u5bf9\u5bb9\u6613\uff0c\u4e5f\u5373\u662f\u4ece\u6587\u4ef6\u5230\u5b57\u7b26\u4e32\u7684\u6620\u5c04\u3002\u800c\u6211\u4eec\u60f3\u641c\u7d22\u7684\u4fe1\u606f\u662f\u54ea\u4e9b\u6587\u4ef6\u5305\u542b\u6b64\u5b57\u7b26\u4e32\uff0c\u4e5f\u5373\u5df2\u77e5\u5b57\u7b26\u4e32\uff0c\u6b32\u6c42\u6587\u4ef6\uff0c\u4e5f\u5373\u4ece\u5b57\u7b26\u4e32\u5230\u6587\u4ef6\u7684\u6620\u5c04\u3002\u4e24\u8005\u6070\u6070\u76f8\u53cd\u3002\u4e8e\u662f\u5982\u679c\u7d22\u5f15\u603b\u80fd\u591f\u4fdd\u5b58\u4ece\u5b57\u7b26\u4e32\u5230\u6587\u4ef6\u7684\u6620\u5c04\uff0c\u5219\u4f1a\u5927\u5927\u63d0\u9ad8\u641c\u7d22\u901f\u5ea6\u3002<br \/>\n\t\u7531\u4e8e\u4ece\u5b57\u7b26\u4e32\u5230\u6587\u4ef6\u7684\u6620\u5c04\u662f\u6587\u4ef6\u5230\u5b57\u7b26\u4e32\u6620\u5c04\u7684\u53cd\u5411\u8fc7\u7a0b\uff0c\u4e8e\u662f\u4fdd\u5b58\u8fd9\u79cd\u4fe1\u606f\u7684\u7d22\u5f15\u79f0\u4e3a\u53cd\u5411\u7d22\u5f15 \u3002\n<\/p>\n<h2>\n\t\u53cd\u5411\u7d22\u5f15<br \/>\n<\/h2>\n<p>\n\t\u53cd\u5411\u7d22\u5f15\u7684\u6240\u4fdd\u5b58\u7684\u4fe1\u606f\u4e00\u822c\u5982\u4e0b\uff1a<br \/>\n\t\u5047\u8bbe\u6211\u7684\u6587\u6863\u96c6\u5408\u91cc\u9762\u6709100\u7bc7\u6587\u6863\uff0c\u4e3a\u4e86\u65b9\u4fbf\u8868\u793a\uff0c\u6211\u4eec\u4e3a\u6587\u6863\u7f16\u53f7\u4ece1\u5230100\uff0c\u5f97\u5230\u4e0b\u9762\u7684\u7ed3\u6784\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u53cd\u5411\u7d22\u5f15\" src=\"http:\/\/hi.csdn.net\/attachment\/201002\/1\/3634917_1265048520Dccx.jpg\" style=\"width: 544px;height: 153px\" \/>\n<\/p>\n<p>\n\t\u5de6\u8fb9\u4fdd\u5b58\u7684\u662f\u4e00\u7cfb\u5217\u5b57\u7b26\u4e32\uff0c\u79f0\u4e3a<a href=\"https:\/\/baike.baidu.com\/item\/\u8bcd\u5178\" name=\"\u8bcd\u5178\" target=\"_blank\" title=\"\u8bcd\u5178\">\u8bcd\u5178<\/a> \u3002<br \/>\n\t\u6bcf\u4e2a\u5b57\u7b26\u4e32\u90fd\u6307\u5411\u5305\u542b\u6b64\u5b57\u7b26\u4e32\u7684\u6587\u6863(Document)\u94fe\u8868\uff0c\u6b64\u6587\u6863\u94fe\u8868\u79f0\u4e3a<a href=\"https:\/\/baike.baidu.com\/item\/\u5012\u6392\u7d22\u5f15\/11001569\" name=\"\u5012\u6392\u7d22\u5f15\" target=\"_blank\" title=\"\u5012\u6392\u7d22\u5f15\">\u5012\u6392\u8868 (Posting List)<\/a>\u3002<br \/>\n\t\u6709\u4e86\u7d22\u5f15\uff0c\u4fbf\u4f7f\u4fdd\u5b58\u7684\u4fe1\u606f\u548c\u8981\u641c\u7d22\u7684\u4fe1\u606f\u4e00\u81f4\uff0c\u53ef\u4ee5\u5927\u5927\u52a0\u5feb\u641c\u7d22\u7684\u901f\u5ea6\u3002<br \/>\n\t\u6bd4\u5982\u8bf4\uff0c\u6211\u4eec\u8981\u5bfb\u627e\u65e2\u5305\u542b\u5b57\u7b26\u4e32&ldquo;lucene&rdquo;\u53c8\u5305\u542b\u5b57\u7b26\u4e32&ldquo;solr&rdquo;\u7684\u6587\u6863\uff0c\u6211\u4eec\u53ea\u9700\u8981\u4ee5\u4e0b\u51e0\u6b65\uff1a\n<\/p>\n<ol>\n<li>\n\t\t\u53d6\u51fa\u5305\u542b\u5b57\u7b26\u4e32&ldquo;lucene&rdquo;\u7684\u6587\u6863\u94fe\u8868\u3002\n\t<\/li>\n<li>\n\t\t\u53d6\u51fa\u5305\u542b\u5b57\u7b26\u4e32&ldquo;solr&rdquo;\u7684\u6587\u6863\u94fe\u8868\u3002\n\t<\/li>\n<li>\n\t\t\u901a\u8fc7\u5408\u5e76\u94fe\u8868\uff0c\u627e\u51fa\u65e2\u5305\u542b&ldquo;lucene&rdquo;\u53c8\u5305\u542b&ldquo;solr&rdquo;\u7684\u6587\u4ef6\u3002\n\t<\/li>\n<\/ol>\n<p>\n\t<img decoding=\"async\" alt=\"lucene \u7d22\u5f15\u8fc7\u7a0b\" src=\"http:\/\/hi.csdn.net\/attachment\/201002\/1\/3634917_12650485205MRM.jpg\" style=\"width: 544px;height: 55px\" \/>\n<\/p>\n<p>\n\t\u770b\u5230\u8fd9\u4e2a\u5730\u65b9\uff0c\u6709\u4eba\u53ef\u80fd\u4f1a\u8bf4\uff0c\u5168\u6587\u68c0\u7d22\u7684\u786e\u52a0\u5feb\u4e86\u641c\u7d22\u7684\u901f\u5ea6\uff0c\u4f46\u662f\u591a\u4e86\u7d22\u5f15\u7684\u8fc7\u7a0b\uff0c\u4e24\u8005\u52a0\u8d77\u6765\u4e0d\u4e00\u5b9a\u6bd4\u987a\u5e8f\u626b\u63cf\u5feb\u591a\u5c11\u3002\u7684\u786e\uff0c\u52a0\u4e0a\u7d22\u5f15\u7684\u8fc7\u7a0b\uff0c\u5168\u6587\u68c0\u7d22\u4e0d\u4e00\u5b9a\u6bd4\u987a\u5e8f\u626b\u63cf\u5feb\uff0c\u5c24\u5176\u662f\u5728\u6570\u636e\u91cf\u5c0f\u7684\u65f6\u5019\u66f4\u662f\u5982\u6b64\u3002\u800c\u5bf9\u4e00\u4e2a\u5f88\u5927\u91cf\u7684\u6570\u636e\u521b\u5efa\u7d22\u5f15\u4e5f\u662f\u4e00\u4e2a\u5f88\u6162\u7684\u8fc7\u7a0b\u3002\n<\/p>\n<p>\n\t\u7136\u800c\u4e24\u8005\u8fd8\u662f\u6709\u533a\u522b\u7684\uff0c\u987a\u5e8f\u626b\u63cf\u662f\u6bcf\u6b21\u90fd\u8981\u626b\u63cf\uff0c\u800c\u521b\u5efa\u7d22\u5f15\u7684\u8fc7\u7a0b\u4ec5\u4ec5\u9700\u8981\u4e00\u6b21\uff0c\u4ee5\u540e\u4fbf\u662f\u4e00\u52b3\u6c38\u9038\u7684\u4e86\uff0c\u6bcf\u6b21\u641c\u7d22\uff0c\u521b\u5efa\u7d22\u5f15\u7684\u8fc7\u7a0b\u4e0d\u5fc5\u7ecf\u8fc7\uff0c\u4ec5\u4ec5\u641c\u7d22\u521b\u5efa\u597d\u7684\u7d22\u5f15\u5c31\u53ef\u4ee5\u4e86\u3002\n<\/p>\n<p>\n\t\u8fd9\u4e5f\u662f\u5168\u6587\u641c\u7d22\u76f8\u5bf9\u4e8e\u987a\u5e8f\u626b\u63cf\u7684\u4f18\u52bf\u4e4b\u4e00\uff1a\u4e00\u6b21\u7d22\u5f15\uff0c\u591a\u6b21\u4f7f\u7528\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1822\">Lucene\u7684\u7d22\u5f15(Index)\u91cc\u9762\u7a76\u7adf\u5b58\u4e9b\u4ec0\u4e48\uff1f<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u524d\u9762\u7684\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5b66\u4e60\u4e86 Lucene \u7684\u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236\u3002\u5e76\u4ece\u4e2d\u4e86\u89e3\u5230 Lucene \u63d0\u4f9b\u7684\u5168\u6587\u68c0\u7d22\u4e3b\u8981\u7528 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1444,1446,1447,1448],"class_list":["post-1822","post","type-post","status-publish","format-standard","hentry","category-java","tag-lucene","tag-lucene-","tag-solrlucene"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1822"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1822\/revisions"}],"predecessor-version":[{"id":1823,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1822\/revisions\/1823"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}