{"id":2208,"date":"2023-05-03T16:09:12","date_gmt":"2023-05-03T08:09:12","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=2208"},"modified":"2023-05-04T05:42:37","modified_gmt":"2023-05-03T21:42:37","slug":"lucene-learning-part-1-introduction-to-lucene","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/05\/03\/lucene-learning-part-1-introduction-to-lucene\/","title":{"rendered":"Lucene\u7684\u5b66\u4e60\u7b2c\u4e00\u7bc7 \u2014 \u5f15\u51faLucene"},"content":{"rendered":"<h2>\u9700\u6c42\u573a\u666f\u63d0\u51fa<\/h2>\n<ul>\n<li>1\uff1a\u5728\u6307\u5b9a\uff0810\u4e2a\uff09\u4e0d\u540c\u540d\u5b57\uff0c\u4e0d\u540c\u5185\u5bb9\u7684word\u6587\u6863\u4e2d\uff0c\u8fdb\u884c\u4efb\u610f\u6307\u5b9a\u641c\u7d22\u3002\u6bd4\u5982\uff1a\u641c\u7d22\u54ea\u4e2a\u6587\u6863\u4e2d\u6709\uff1a\u201c\u9ad8\u5bcc\u5e05\u201d\u3001\u201c\u5403\u9e21\u201d\u3001\u201dread\u201d\u2026\u7b49\u8bcd\u6c47<\/li>\n<li>2\uff1a\u7ad9\u5185\u641c\u7d22\uff1a\u641c\u7d22\u4efb\u610f\u5173\u952e\u8bcd\uff0c\u51fa\u6765\u76f8\u5173\u5185\u5bb9\u3002\u8bba\u575b\uff0c\u8d34\u5427\uff0c\u6dd8\u5b9d<\/li>\n<li>3\uff1a\u767e\u5ea6\u7c7b\u4f3c\u7684\u641c\u7d22<\/li>\n<li>4\uff1a\u667a\u8054\u62db\u8058\u7684\u641c\u7d22<\/li>\n<\/ul>\n<h2>\u5206\u6790<\/h2>\n<p>\u5e38\u89c4\u7684\u641c\u7d22\uff0c\u6211\u4eec\u662f\u5bf9\u6570\u636e\u5e93\u7684\u5185\u5bb9\u8fdb\u884csql\u67e5\u627e\uff0c\u5339\u914d\u4ece\u800c\u5b9e\u73b0\u641c\u7d22\u3002\u4f46\u662f\u5bf9\u4e8e\u4ee5\u4e0a\u7684\u95ee\u9898\uff0c\u6570\u636e\u5e93\u5982\u4f55\u5efa\u8868\uff1f\u5b57\u6bb5\u600e\u4e48\u5efa\uff1f\u5185\u5bb9\u600e\u4e48\u5b58\uff1f\u53d1\u73b0\u6ca1\u6cd5\u5efa\u8fd9\u4e2a\u8868\u3002<\/p>\n<p>1\u3001\u4e8e\u662f\u601d\u8003\u51fa\u8fd9\u4e2a\u95ee\u9898\uff1a<\/p>\n<p>\u6570\u636e\u5e93\u4e4b\u6240\u4ee5\u597d\u641c\uff0c\u80fd\u641c\uff0c\u90a3\u662f\u56e0\u4e3a\u8868\u4e2d\u7684\u6570\u636e\uff0c\u6709\u884c\u6709\u5217\u3002\u5177\u6709\u4e00\u81f4\u6027\u7684\u7ed3\u6784\u3002\u56fa\u5b9a\u7684\u683c\u5f0f\uff0c\u9650\u5b9a\u7684\u957f\u5ea6\u3002\u8fd9\u7c7b\u6570\u636e\uff0c\u4e5f\u5c31\u662f\u7ed3\u6784\u5316\u7684\u6570\u636e\u3002<\/p>\n<p>\u800c\u6211\u4eec\u7684\u8981\u641c\u7684\u5185\u5bb9\u6ca1\u6709\u7ed3\u6784\u6027\u3002\u4e5f\u4e0d\u77e5\u9053\u957f\u5ea6\u3002\u975e\u7ed3\u6784\u5316\u7684\u6570\u636e\uff0c\u641c\u7d22\u4e5f\u662f\u4efb\u610f\u6307\u5b9a\uff0c\u6570\u636e\u5e93\u4e0d\u80fd\u5b9e\u73b0\u3002<\/p>\n<p>2\u3001\u7ee7\u7eed\u601d\u8003\uff1a\u90a3\u4e48\u975e\u7ed3\u6784\u5316\u6570\u636e\u600e\u4e48\u529e\uff1f<\/p>\n<p>\u7a0b\u5e8f\u65e0\u975e\u5c31\u662f\u4ee3\u66ff\u7684\u4eba\u505a\u7684\u4e8b\u3002\u6211\u4eec\u5148\u8003\u8651\u6211\u4eec\u600e\u4e48\u641c\u7d22\uff1a\uff08\u4ee5\u4e0b\u53d6\u573a\u666f1\u8fdb\u884c\u5206\u6790\uff09<\/p>\n<p>\uff081\uff09\u5bf9\u4e8e\u6587\u6863\u4e2d\u5185\u5bb9\u641c\u7d22\uff0c\u8981\u627e\u5230\u201c\u5403\u9e21\u201d\uff0c\u6211\u4eec\u4e00\u4e2a\u4e00\u4e2a\u6253\u5f00\u6587\u6863\u770b\uff0c\u4ece\u5934\u5230\u5c3e\u8fdb\u884c\u6d4f\u89c8\uff0c\u53d1\u73b0\u4e86\u201c\u5403\u9e21\u201d\uff0c\u8fd9\u4e2a\u6587\u6863\u5c31\u6709\u3002\u6ca1\u53d1\u73b0\uff0c\u8fd9\u4e2a\u6587\u6863\u5c31\u6ca1\u6709\u3002<\/p>\n<p>\u5f53\u7136\u6211\u4eec\u4f1a\u4f7f\u7528Ctrl+F \u8fdb\u884c\u67e5\u627e\uff08Ctrl+F\u4e5f\u5c31\u662f\u4ece\u5934\u5230\u5c3e\u8fdb\u884c\u67e5\u627e\uff09\u3002\u8fd9\u79cd\u641c\u7d22\u7684\u65b9\u6cd5\uff1a\u53eb\u505a\u987a\u5e8f\u626b\u63cf\u3002<\/p>\n<p>\u6240\u4ee5\u6211\u4eec\u5199\u4e2a\u7a0b\u5e8f\uff0c\u5b9e\u73b0\u4ee5\u4e0b\u529f\u80fd\uff1a<\/p>\n<ul>\n<li>\u904d\u5386\u6bcf\u4e2a\u8981\u641c\u7d22\u7684\u6587\u4ef6<\/li>\n<li>\u6253\u5f00word\u6587\u6863\uff0c\u5b9e\u73b0 Ctrl+F \u6307\u5b9a\u7684\u5185\u5bb9\u3002\u6709\u7136\u540e\u62ff\u5230\u8be5\u6587\u6863\u7684\u540d\u5b57\uff0c\u7136\u540e\u6807\u8bb0\u4f4d\u7f6e<\/li>\n<li>\u5982\u679c\u6587\u4ef6\u975e\u5e38\u591a\uff0c\u4f7f\u7528\u591a\u7ebf\u7a0b<\/li>\n<\/ul>\n<p>\u90a3\u4e48\u4f1a\u9762\u4e34\u4ee5\u4e0b\u51e0\u4e2a\u95ee\u9898\uff1a<\/p>\n<ul>\n<li>\u53ea\u80fd\u7cbe\u786e\u67e5\u627e\uff0c\u4e0d\u80fd\u6700\u5927\u9650\u5ea6\u5339\u914d<\/li>\n<li>\u6b64\u5904\u591a\u7ebf\u7a0b\u6548\u7387\u4e0d\u4f1a\u63d0\u5347\uff08\u751a\u81f3\u4f1a\u4e25\u91cd\u964d\u4f4e\uff0c\u601d\u8003\u4e3a\u4ec0\u4e48\uff09<\/li>\n<\/ul>\n<p>\uff082\uff09\u987a\u5e8f\u626b\u63cf\uff0c\u6211\u4eec\u6ca1\u6709\u80fd\u529b\u5199\u51fa\u4ee3\u7801\uff0c\u90a3\u4e48\u6211\u4eec\u6362\u4e00\u79cd\u89d2\u5ea6\u601d\u8003\uff1a<\/p>\n<p>\u6211\u4eec\u5728\u8bcd\u5178\u4e2d\u67e5\u627e\u201c\u5403\u201d\uff0c\u4e4b\u6240\u4ee5\u5f88\u5feb\uff0c\u662f\u56e0\u4e3a\u6211\u4eec\u901a\u8fc7\u62fc\u97f3\uff0c\u6216\u8005\u90e8\u9996\uff0c\u76f4\u63a5\u627e\u5230\u4e86\u201c\u5403\u201d\uff0c\u627e\u5230\u4e86\u201c\u5403\u201d\u6240\u5728\u7684\u9875\u6570\uff0c\u7136\u540e\u627e\u5230\u4e86\u201c\u5403\u201d\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u6240\u4ee5\u53ea\u8981\uff0c\u6211\u4eec\u5c06\u5185\u5bb9\u5168\u90e8\u62c6\u6210\u4e00\u4e9b\u8bcd\u6c47\uff0c\u7136\u540e\u5efa\u7acb\u4fe1\u606f\uff0c\u8ddf\u4e00\u4e2a\u8bcd\u5178\u4e00\u6837\uff0c\u90a3\u4e48\u597d\u529e\u4e86\uff0c\u4e00\u5207\u95ee\u9898\u90fd\u89e3\u51b3\u4e86\u3002<\/p>\n<p>\u9762\u4e34\u4e2a\u95ee\u9898\uff0c\u4e00\uff1a\u5982\u4f55\u5b9e\u73b0\u62c6\uff1f\u4e8c\uff1a\u5de5\u4f5c\u91cf\u5982\u6b64\u5de8\u5927\uff0c\u6548\u7387\u5982\u4f55\uff1f<\/p>\n<p>\u62c6\u8bcd\uff1a\u4f7f\u7528\u7b2c\u4e09\u65b9\u5de5\u5177<\/p>\n<p>\u62c6\u8bcd\u4e4b\u540e\uff0c\u4e00\u6b21\u5efa\u7acb\uff0c\u91cd\u590d\u4f7f\u7528\uff08\u7c7b\u4f3c\u5b57\u5178\uff09\uff0c\u4e00\u65e6\u5efa\u6210\uff0c\u529f\u5229\u5343\u79cb\uff08\u540e\u671f\u65b0\u589e\u6570\u636e\uff0c\u52a8\u6001\u66f4\u65b0\u5c31\u597d\u4e86\uff09<\/p>\n<h2>\u5168\u6587\u68c0\u7d22<\/h2>\n<p>\u5c06\u6570\u636e\u901a\u8fc7\u62c6\u89e3\uff0c\u5206\u6790\uff0c\u4ece\u65b0\u7ec4\u7ec7\u7684\uff0c\u53d8\u5f97\u6709\u7ed3\u6784\u5316\uff0c\u5e76\u5c06\u91cd\u65b0\u7ed3\u6784\u5316\u7684\u7ed3\u679c\u4fdd\u5b58\u4e0b\u6765\u3002\u91cd\u65b0\u7ed3\u6784\u5316\u7684\u7ed3\u679c\u5c31\u662f\u7d22\u5f15\u3002\u6211\u4eec\u53ea\u9700\u8981\u5bf9\u7d22\u5f15\u8fdb\u884c\u641c\u7d22\u3002\u7d22\u5f15\u7684\u96c6\u5408\u7ec4\u6210\u4e00\u4e2a\u7d22\u5f15\u5e93\u3002<\/p>\n<p>\u6240\u4ee5\u5168\u6587\u68c0\u7d22\u7684\u6280\u672f\u8981\u70b9\uff1a<\/p>\n<ul>\n<li>\u521b\u5efa\u7d22\u5f15<\/li>\n<li>\u641c\u7d22\u7d22\u5f15<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9700\u6c42\u573a\u666f\u63d0\u51fa 1\uff1a\u5728\u6307\u5b9a\uff0810\u4e2a\uff09\u4e0d\u540c\u540d\u5b57\uff0c\u4e0d\u540c\u5185\u5bb9\u7684word\u6587\u6863\u4e2d\uff0c\u8fdb\u884c\u4efb\u610f\u6307\u5b9a\u641c\u7d22\u3002\u6bd4\u5982\uff1a\u641c\u7d22\u54ea\u4e2a\u6587\u6863\u4e2d\u6709 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[560],"tags":[559],"class_list":["post-2208","post","type-post","status-publish","format-standard","hentry","category-lucene","tag-lucene"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/2208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2208"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/2208\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}