{"id":7065,"date":"2024-11-14T15:52:45","date_gmt":"2024-11-14T07:52:45","guid":{"rendered":"https:\/\/fwq.ai\/blog\/7065\/"},"modified":"2024-11-14T15:52:45","modified_gmt":"2024-11-14T07:52:45","slug":"%e5%a6%82%e4%bd%95%e9%ab%98%e6%95%88%e5%ad%98%e5%82%a8%e5%92%8c%e6%90%9c%e7%b4%a2%e6%b5%b7%e9%87%8f%e5%af%b9%e8%b1%a1-%e5%b1%9e%e6%80%a7-%e5%80%bc%e4%b8%89%e5%85%83%e7%bb%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/7065\/","title":{"rendered":"\u5982\u4f55\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173037349851863.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff1f\u63d2\u56fe\" alt=\"\u5982\u4f55\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\u5b58\u50a8\u4e0e\u641c\u7d22<\/strong><\/p>\n<p>\u968f\u7740\u6570\u636e\u7684\u6fc0\u589e\uff0c\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u7684\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\u81f3\u5173\u91cd\u8981\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u5982\u4f55\u8bbe\u8ba1\u8868\u7684\u7ed3\u6784\u6765\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<p><strong>\u95ee\u9898\uff1a<\/strong>\u5982\u4f55\u5b58\u50a8\u6d77\u91cf\u7684\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff0c\u540c\u65f6\u4fdd\u6301\u641c\u7d22\u6548\u7387\uff1f<\/p>\n<p><strong>\u7b54\u6848\uff1a<\/strong><\/p>\n<p>\u4e00\u79cd\u8bbe\u8ba1\u65b9\u6848\u662f\u4f7f\u7528\u4ee5\u4e0b\u8868\u7ed3\u6784\uff1a<\/p>\n<ul>\n<li> <strong>\u4e3b\u8868\uff1a<\/strong>rel_id (int), obj_id (int), prop_id (int)\uff0c val_type (int)<\/li>\n<li> <strong>\u5bf9\u8c61\u63cf\u8ff0\u8868\uff1a<\/strong>obj_id (int)\uff0cobj_desc (string)<\/li>\n<li> <strong>\u5c5e\u6027\u63cf\u8ff0\u8868\uff1a<\/strong>prop_id (int)\uff0cprop_desc (string)<\/li>\n<li> <strong>\u503c\u8868\uff1a<\/strong>rel_id (int)\uff0c\u7c7b\u578b\u76f8\u5173\u7684\u5b57\u6bb5\uff08\u4f8b\u5982 val_bool \u4e3a\u5e03\u5c14\u503c\uff09<\/li>\n<\/ul>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u7075\u6d3b\u5730\u6dfb\u52a0\u65b0\u5c5e\u6027\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u4e3b\u8868\u7684 val_type \u5b57\u6bb5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u503c\u3002<\/p>\n<p><strong>\u63a2\u7d22\u5176\u4ed6\u9009\u9879\uff1a<\/strong><\/p>\n<ul>\n<li> <strong>MongoDB\uff1a<\/strong>\u63d0\u4f9b\u9ad8\u5ea6\u81ea\u5b9a\u4e49\u7684\u6587\u6863\u5b58\u50a8\uff0c\u53ef\u4ee5\u4f7f\u7528 JSON \u6765\u8868\u793a\u5c5e\u6027\u548c\u503c\uff0c\u4f46\u6a21\u7cca\u67e5\u8be2\u9700\u8981 Elasticsearch\u3002<\/li>\n<li> <strong>\u7ef4\u57fa\u6570\u636e\uff1a<\/strong>\u5c06\u5c5e\u6027\u5b58\u50a8\u5728 JSON \u4e2d\uff0c\u4f46\u641c\u7d22\u6548\u7387\u53ef\u80fd\u53d7\u5230\u9650\u5236\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u7f51\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\u5b58\u50a8\u4e0e\u641c\u7d22 \u968f\u7740\u6570\u636e\u7684\u6fc0\u589e\uff0c\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u7684\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\u81f3\u5173\u91cd\u8981\u3002\u672c\u6587\u63a2\u8ba8\u4e86\u5982\u4f55\u8bbe\u8ba1\u8868\u7684\u7ed3\u6784\u6765\u89e3\u51b3\u6b64\u95ee\u9898\u3002 \u95ee\u9898\uff1a\u5982\u4f55\u5b58\u50a8\u6d77\u91cf\u7684\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff0c\u540c\u65f6\u4fdd\u6301\u641c\u7d22\u6548\u7387\uff1f \u7b54\u6848\uff1a \u4e00\u79cd\u8bbe\u8ba1\u65b9\u6848\u662f\u4f7f\u7528\u4ee5\u4e0b\u8868\u7ed3\u6784\uff1a \u4e3b\u8868\uff1arel_id (int), obj_id (int), prop_id (int)\uff0c val_type (int) \u5bf9\u8c61\u63cf\u8ff0\u8868\uff1aobj_id (int)\uff0cobj_desc (string) \u5c5e\u6027\u63cf\u8ff0\u8868\uff1aprop_id (int)\uff0cprop_desc (string) \u503c\u8868\uff1arel_id (int)\uff0c\u7c7b\u578b\u76f8\u5173\u7684\u5b57\u6bb5\uff08\u4f8b\u5982 val_bool \u4e3a\u5e03\u5c14\u503c\uff09 \u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u7075\u6d3b\u5730\u6dfb\u52a0\u65b0\u5c5e\u6027\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u4e3b\u8868\u7684 val_type \u5b57\u6bb5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u503c\u3002 \u63a2\u7d22\u5176\u4ed6\u9009\u9879\uff1a MongoDB\uff1a\u63d0\u4f9b\u9ad8\u5ea6\u81ea\u5b9a\u4e49\u7684\u6587\u6863\u5b58\u50a8\uff0c\u53ef\u4ee5\u4f7f\u7528 JSON \u6765\u8868\u793a\u5c5e\u6027\u548c\u503c\uff0c\u4f46\u6a21\u7cca\u67e5\u8be2\u9700\u8981 Elasticsearch\u3002 \u7ef4\u57fa\u6570\u636e\uff1a\u5c06\u5c5e\u6027\u5b58\u50a8\u5728 JSON \u4e2d\uff0c\u4f46\u641c\u7d22\u6548\u7387\u53ef\u80fd\u53d7\u5230\u9650\u5236\u3002 \u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u9ad8\u6548\u5b58\u50a8\u548c\u641c\u7d22\u6d77\u91cf\u5bf9\u8c61-\u5c5e\u6027-\u503c\u4e09\u5143\u7ec4\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u7f51\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-7065","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/7065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=7065"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/7065\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=7065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=7065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=7065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}