{"id":1820,"date":"2017-08-22T13:45:20","date_gmt":"2017-08-22T05:45:20","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1820"},"modified":"2017-08-22T13:45:20","modified_gmt":"2017-08-22T05:45:20","slug":"lucene-%e5%8e%9f%e7%90%86%e5%92%8c%e5%ae%9e%e7%8e%b0%e6%9c%ba%e5%88%b6","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1820","title":{"rendered":"Lucene \u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236"},"content":{"rendered":"<p>\n\t\u8fd8\u6709\u4e0d\u4e86\u89e3 <a href=\"http:\/\/lucene.apache.org\/core\/\" name=\"Lucene\" target=\"_blank\" title=\"Lucene\">Lucene<\/a> \u7684\uff0c\u53ef\u4ee5\u5148\u770b\u6211\u524d\u9762\u4e00\u7bc7\u5173\u4e8e Lucene \u7b80\u4ecb\u7684\u6587\u7ae0\u300a<a href=\"http:\/\/www.xttblog.com\/?p=1817\" name=\"Apache Lucene \u7b80\u4ecb\" target=\"_blank\" title=\"Apache Lucene \u7b80\u4ecb\">Apache Lucene \u7b80\u4ecb<\/a>\u300b\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u7684\u4ecb\u7ecd Lucene \u7684\u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236\uff0c\u4ee5\u53ca Lucene \u548c\u6570\u636e\u5e93\u7684\u5bf9\u6bd4\u3002\n<\/p>\n<p>\n\t\u76ee\u524d\u5df2\u7ecf\u6709\u5f88\u591a\u5e94\u7528\u7a0b\u5e8f\u7684\u641c\u7d22\u529f\u80fd\u662f\u57fa\u4e8e Lucene \u7684\uff0c\u6bd4\u5982 Eclipse \u7684\u5e2e\u52a9\u7cfb\u7edf\u7684\u641c\u7d22\u529f\u80fd\u3002Lucene \u80fd\u591f\u4e3a\u6587\u672c\u7c7b\u578b\u7684\u6570\u636e\u5efa\u7acb\u7d22\u5f15\uff0c\u6240\u4ee5\u4f60\u53ea\u8981\u80fd\u628a\u4f60\u8981\u7d22\u5f15\u7684\u6570\u636e\u683c\u5f0f\u8f6c\u5316\u7684\u6587\u672c\u7684\uff0cLucene \u5c31\u80fd\u5bf9\u4f60\u7684\u6587\u6863\u8fdb\u884c\u7d22\u5f15\u548c\u641c\u7d22\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u641c\u7d22\u5e94\u7528\u7a0b\u5e8f\u548c Lucene \u4e4b\u95f4\u7684\u5173\u7cfb\" src=\"http:\/\/ocuzluml6.bkt.clouddn.com\/lucene001.jpg\" style=\"width: 708px;height: 575px\" \/>\n<\/p>\n<p>\n\tLucene\u7684API\u63a5\u53e3\u8bbe\u8ba1\u7684\u6bd4\u8f83\u901a\u7528\uff0c\u8f93\u5165\u8f93\u51fa\u7ed3\u6784\u90fd\u5f88\u50cf\u6570\u636e\u5e93\u7684\u8868==&gt;\u8bb0\u5f55==&gt;\u5b57\u6bb5\uff0c\u6240\u4ee5\u5f88\u591a\u4f20\u7edf\u7684\u5e94\u7528\u7684\u6587\u4ef6\u3001\u6570\u636e\u5e93\u7b49\u90fd\u53ef\u4ee5\u6bd4\u8f83\u65b9\u4fbf\u7684\u6620\u5c04\u5230Lucene\u7684\u5b58\u50a8\u7ed3\u6784\/\u63a5\u53e3\u4e2d\u3002\u603b\u4f53\u4e0a\u770b\uff1a\u53ef\u4ee5\u5148\u628aLucene\u5f53\u6210\u4e00\u4e2a\u652f\u6301\u5168\u6587\u7d22\u5f15\u7684\u6570\u636e\u5e93\u7cfb\u7edf\u3002\n<\/p>\n<h2>\n\tLucene \u548c\u6570\u636e\u5e93\u7684\u6bd4\u8f83<br \/>\n<\/h2>\n<p>\n\t\u4e0b\u9762\u7684\u8868\u683c\u662f Lucene \u548c\u6570\u636e\u5e93\u7684\u5bf9\u6bd4\uff1a\n<\/p>\n<table border=\"1\" cellpadding=\"1\" cellspacing=\"1\" style=\"width:600px\">\n<tbody>\n<tr>\n<td>\n\t\t\t\tLucene\n\t\t\t<\/td>\n<td>\n\t\t\t\t\u6570\u636e\u5e93\n\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\t\u7d22\u5f15\u6570\u636e\u6e90\uff1adoc(field1,field2&#8230;) doc(field1,field2&#8230;)<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\ &nbsp;indexer \/<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_____________<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | Lucene Index|<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/ searcher \\<br \/>\n\t\t\t\t&nbsp;\u7ed3\u679c\u8f93\u51fa\uff1aHits(doc(field1,field2) doc(field1&#8230;))\n\t\t\t<\/td>\n<td>\n\t\t\t\t\u7d22\u5f15\u6570\u636e\u6e90\uff1arecord(field1,field2&#8230;) record(field1..)<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\ &nbsp;SQL: insert\/<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_____________<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | DB &nbsp;Index &nbsp; |<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#8212;&#8212;&#8212;&#8212;-<br \/>\n\t\t\t\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/ SQL: select \\<br \/>\n\t\t\t\t\u7ed3\u679c\u8f93\u51fa\uff1aresults(record(field1,field2..) record(field1&#8230;))\n\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\tDocument\uff1a\u4e00\u4e2a\u9700\u8981\u8fdb\u884c\u7d22\u5f15\u7684&ldquo;\u5355\u5143&rdquo;\u4e00\u4e2aDocument\u7531\u591a\u4e2a\u5b57\u6bb5\u7ec4\u6210\n\t\t\t<\/td>\n<td>\n\t\t\t\tRecord\uff1a\u8bb0\u5f55\uff0c\u5305\u542b\u591a\u4e2a\u5b57\u6bb5\n\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\tField\uff1a\u5b57\u6bb5\n\t\t\t<\/td>\n<td>\n\t\t\t\tField\uff1a\u5b57\u6bb5\n\t\t\t<\/td>\n<\/tr>\n<tr>\n<td>\n\t\t\t\tHits\uff1a\u67e5\u8be2\u7ed3\u679c\u96c6\uff0c\u7531\u5339\u914d\u7684Document\u7ec4\u6210\n\t\t\t<\/td>\n<td>\n\t\t\t\tRecordSet\uff1a\u67e5\u8be2\u7ed3\u679c\u96c6\uff0c\u7531\u591a\u4e2aRecord\u7ec4\u6210\n\t\t\t<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\n\tLucene&nbsp;\u641c\u7d22\u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u4f5c\u539f\u7406<br \/>\n<\/h2>\n<p>\n\t\u4efb\u4f55\u641c\u7d22\u5e94\u7528\u7a0b\u5e8f\u6267\u884c\u4e00\u4e9b\u6216\u5168\u90e8\u4e0b\u5217\u64cd\u4f5c\u3002\n<\/p>\n<ol>\n<li>\n\t\t\u83b7\u53d6\u539f\u59cb\u5185\u5bb9\uff1a\u4efb\u4f55\u641c\u7d22\u5e94\u7528\u7a0b\u5e8f\u7684\u7b2c\u4e00\u4e2a\u6b65\u9aa4\u662f\u6536\u96c6\u5728\u5176\u4e0a\u7684\u641c\u7d22\u662f\u8981\u8fdb\u884c\u7684\u76ee\u6807\u5185\u5bb9\u3002\n\t<\/li>\n<li>\n\t\t\u6784\u5efa\u6587\u6863\uff1a\u4e0b\u4e00\u6b65\u662f\u5efa\u7acb\u4ece\u539f\u59cb\u5185\u5bb9\u7684\u641c\u7d22\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u7406\u89e3\u548c\u5bb9\u6613\u7406\u89e3\u7684\u6587\u4ef6\u3002\n\t<\/li>\n<li>\n\t\t\u5206\u6790\u6587\u6863\uff1a\u5728\u7d22\u5f15\u8fc7\u7a0b\u542f\u52a8\uff0c\u8be5\u6587\u4ef6\u662f\u8981\u5206\u6790\u4f5c\u4e3a\u5176\u6587\u672c\u90e8\u5206\u662f\u4e00\u4e2a\u5019\u9009\u7d22\u5f15\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u88ab\u79f0\u4e3a\u5206\u6790\u6587\u6863\u3002\n\t<\/li>\n<li>\n\t\t\u7d22\u5f15\u6587\u4ef6\uff1a\u4e00\u65e6\u6587\u6863\u88ab\u6784\u5efa\u548c\u5206\u6790\uff0c\u4e0b\u4e00\u6b65\u662f\u5c06\u7d22\u5f15\u5b83\u4eec\u4f7f\u5f97\u8be5\u6587\u4ef6\u53ef\u88ab\u68c0\u7d22\n\t<\/li>\n<\/ol>\n<h2>\n\t\u5168\u6587\u68c0\u7d22<br \/>\n<\/h2>\n<p>\n\t\u6570\u636e\u603b\u4f53\u5206\u4e3a\u4e24\u79cd\uff1a<a href=\"https:\/\/baike.baidu.com\/item\/\u7ed3\u6784\u5316\u6570\u636e\" name=\"\u7ed3\u6784\u5316\u6570\u636e\" target=\"_blank\" title=\"\u7ed3\u6784\u5316\u6570\u636e\">\u7ed3\u6784\u5316\u6570\u636e<\/a> \u548c<a href=\"https:\/\/baike.baidu.com\/item\/\u975e\u7ed3\u6784\u5316\u6570\u636e\" name=\"\u975e\u7ed3\u6784\u5316\u6570\u636e\" target=\"_blank\" title=\"\u975e\u7ed3\u6784\u5316\u6570\u636e\">\u975e\u7ed3\u6784\u5316\u6570\u636e<\/a>\u3002\n<\/p>\n<ul>\n<li>\n\t\t\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\n\t<\/li>\n<li>\n\t\t\u975e\u7ed3\u6784\u5316\u6570\u636e\uff1a \u6307\u4e0d\u5b9a\u957f\u6216\u65e0\u56fa\u5b9a\u683c\u5f0f\u7684\u6570\u636e\uff0c\u5982\u90ae\u4ef6\uff0cword\u6587\u6863\u7b49\u3002\n\t<\/li>\n<\/ul>\n<p>\n\t\u5f53\u7136\u6709\u7684\u5730\u65b9\u8fd8\u4f1a\u63d0\u5230\u7b2c\u4e09\u79cd\uff0c\u534a\u7ed3\u6784\u5316\u6570\u636e\uff0c\u5982XML\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\n<\/p>\n<p>\n\t\u975e\u7ed3\u6784\u5316\u6570\u636e\u53c8\u4e00\u79cd\u53eb\u6cd5\u53eb\u5168\u6587\u6570\u636e\u3002\n<\/p>\n<p>\n\t\u6309\u7167\u6570\u636e\u7684\u5206\u7c7b\uff0c\u641c\u7d22\u4e5f\u5206\u4e3a\u4e24\u79cd\uff1a\n<\/p>\n<ul>\n<li>\n\t\t\u5bf9\u7ed3\u6784\u5316\u6570\u636e\u7684\u641c\u7d22 \uff1a\u5982\u5bf9\u6570\u636e\u5e93\u7684\u641c\u7d22\uff0c\u7528SQL\u8bed\u53e5\u3002\u518d\u5982\u5bf9\u5143\u6570\u636e\u7684\u641c\u7d22\uff0c\u5982\u5229\u7528windows\u641c\u7d22\u5bf9\u6587\u4ef6\u540d\uff0c\u7c7b\u578b\uff0c\u4fee\u6539\u65f6\u95f4\u8fdb\u884c\u641c\u7d22\u7b49\u3002\n\t<\/li>\n<li>\n\t\t\u5bf9\u975e\u7ed3\u6784\u5316\u6570\u636e\u7684\u641c\u7d22 \uff1a\u5982\u5229\u7528windows\u7684\u641c\u7d22\u4e5f\u53ef\u4ee5\u641c\u7d22\u6587\u4ef6\u5185\u5bb9\uff0cLinux\u4e0b\u7684grep\u547d\u4ee4\uff0c\u518d\u5982\u7528Google\u548c\u767e\u5ea6\u53ef\u4ee5\u641c\u7d22\u5927\u91cf\u5185\u5bb9\u6570\u636e\u3002\n\t<\/li>\n<\/ul>\n<h2>\n\tLucene \u539f\u7406<br \/>\n<\/h2>\n<p>\n\t\u5bf9\u975e\u7ed3\u6784\u5316\u6570\u636e\u987a\u5e8f\u626b\u63cf\u5f88\u6162\uff0c\u5bf9\u7ed3\u6784\u5316\u6570\u636e\u7684\u641c\u7d22\u5374\u76f8\u5bf9\u8f83\u5feb\uff0c\u90a3\u4e48\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\u8fd9\u5c31\u662f\u5168\u6587\u68c0\u7d22\u7684\u57fa\u672c\u601d\u8def\uff0c\u4e5f\u5373\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\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\n<\/p>\n<p>\n\t\u5168\u6587\u68c0\u7d22\u5927\u4f53\u5206\u4e24\u4e2a\u8fc7\u7a0b\uff0c\u7d22\u5f15\u521b\u5efa (Indexing) \u548c\u641c\u7d22\u7d22\u5f15 (Search) \u3002\n<\/p>\n<ul>\n<li>\n\t\t\u7d22\u5f15\u521b\u5efa\uff1a\u5c06\u73b0\u5b9e\u4e16\u754c\u4e2d\u6240\u6709\u7684\u7ed3\u6784\u5316\u548c\u975e\u7ed3\u6784\u5316\u6570\u636e\u63d0\u53d6\u4fe1\u606f\uff0c\u521b\u5efa\u7d22\u5f15\u7684\u8fc7\u7a0b\u3002\n\t<\/li>\n<li>\n\t\t\u641c\u7d22\u7d22\u5f15\uff1a\u5c31\u662f\u5f97\u5230\u7528\u6237\u7684\u67e5\u8be2\u8bf7\u6c42\uff0c\u641c\u7d22\u521b\u5efa\u7684\u7d22\u5f15\uff0c\u7136\u540e\u8fd4\u56de\u7ed3\u679c\u7684\u8fc7\u7a0b\u3002\n\t<\/li>\n<\/ul>\n<p>\n\t\u6587\u7ae0\u5f00\u59cb\u90e8\u5206\u7684\u56fe\u7247\u5c31\u662f\u5168\u6587\u68c0\u7d22\u7684\u4e00\u822c\u8fc7\u7a0b\u3002\n<\/p>\n<h2>\n\t\u603b\u7ed3<br \/>\n<\/h2>\n<p>\n\t\u901a\u8fc7\u4e0a\u9762\u7684\u8bb2\u89e3\uff0c\u6211\u4eec\u53ef\u4ee5\u603b\u7ed3\u51fa Lucene \u5c31\u662f\u4e00\u4e2a\u521b\u5efa\u7d22\u5f15\uff0c\u4f7f\u7528\u7d22\u5f15\uff0c\u641c\u7d22\u7d22\u5f15\u7684\u4e00\u4e2ajava\u5de5\u5177\u5305\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=1820\">Lucene \u539f\u7406\u548c\u5b9e\u73b0\u673a\u5236<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u8fd8\u6709\u4e0d\u4e86\u89e3 Lucene \u7684\uff0c\u53ef\u4ee5\u5148\u770b\u6211\u524d\u9762\u4e00\u7bc7\u5173\u4e8e Lucene \u7b80\u4ecb\u7684\u6587\u7ae0\u300aApache Lucene \u7b80 [&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,1445],"class_list":["post-1820","post","type-post","status-publish","format-standard","hentry","category-java","tag-lucene","tag-lucene-","tag-1445"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1820","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=1820"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1820\/revisions"}],"predecessor-version":[{"id":1821,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1820\/revisions\/1821"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}