{"id":360023,"date":"2023-01-25T18:09:28","date_gmt":"2023-01-25T10:09:28","guid":{"rendered":"https:\/\/www.idc.net\/help\/360023\/"},"modified":"2023-01-25T18:09:28","modified_gmt":"2023-01-25T10:09:28","slug":"%e5%a6%82%e4%bd%95%e5%bf%ab%e9%80%9f%e6%9e%84%e5%bb%ba%e4%bc%98%e5%bc%82%e7%9a%84react%e6%90%9c%e7%b4%a2%e4%bd%93%e9%aa%8c","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/360023\/","title":{"rendered":"\u5982\u4f55\u5feb\u901f\u6784\u5efa\u4f18\u5f02\u7684React\u641c\u7d22\u4f53\u9a8c"},"content":{"rendered":"<p>&nbsp;\u6784\u5efa\u641c\u7d22\u4f53\u9a8c\u662f\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\u3002\u5b83\u521d\u770b\u8d77\u6765\u5f88\u7b80\u5355\uff1a\u6784\u5efa\u641c\u7d22\u680f\uff0c\u5c06\u6570\u636e\u653e\u5165\u6570\u636e\u5e93\uff0c\u7136\u540e\u8ba9\u7528\u6237\u8f93\u5165\u5185\u5bb9\u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u67e5\u8be2\u3002\u4f46\u662f\uff0c\u5728\u6570\u636e\u5efa\u6a21\u3001\u57fa\u7840\u903b\u8f91\uff0c\u5f53\u7136\u8fd8\u6709\u603b\u4f53\u8bbe\u8ba1\u548c\u7528\u6237\u4f53\u9a8c\u65b9\u9762\uff0c\u8fd8\u6709\u8bb8\u591a\u4e8b\u60c5\u9700\u8981\u8003\u8651\u3002<\/p>\n<p>\u6211\u4eec\u63a5\u4e0b\u6765\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 Elastic \u7684\u5f00\u6e90 Search UI\u5e93\u6784\u5efa\u51fa\u8272\u7684\u57fa\u4e8e React \u7684\u641c\u7d22\u4f53\u9a8c\u3002\u6574\u4e2a\u8fc7\u7a0b\u5927\u7ea6\u9700\u8981 30 \u5206\u949f\uff0c\u5b8c\u6210\u540e\uff0c\u60a8\u5373\u53ef\u5c06\u641c\u7d22\u4f53\u9a8c\u5f15\u5165\u4efb\u4f55\u9700\u8981\u5b83\u7684\u5e94\u7528\u7a0b\u5e8f\u5f53\u4e2d\u3002<\/p>\n<p>\u4f46\u662f\u9996\u5148\u8981\u8003\u8651\u4e00\u4e0b\uff0c\u662f\u4ec0\u4e48\u8ba9\u6784\u5efa\u641c\u7d22\u53d8\u5f97\u5982\u6b64\u5177\u6709\u6311\u6218\u6027\u7684?<\/p>\n<p><strong>\u641c\u7d22\u662f\u8270\u5de8\u7684<\/strong><\/p>\n<p>\u51e0\u5468\u524d\uff0c\u66fe\u70ed\u4f20\u8fc7\u4e00\u7bc7\u5f88\u68d2\u7684\u540d\u4e3a Falsehoods Programmers Believe About Search(\u5173\u4e8e\u641c\u7d22\u7f16\u7a0b\u4eba\u5458\u76f8\u4fe1\u7684\u8c0e\u8a00)\u7684\u6587\u7ae0\u3002\u6587\u7ae0\u4e2d\u5217\u51fa\u4e86\u5f00\u53d1\u4eba\u5458\u5728\u5f00\u53d1\u641c\u7d22\u65f6\u6240\u8003\u8651\u7684\u4e00\u7cfb\u5217\u9519\u8bef\u5047\u8bbe\u3002<\/p>\n<p>\u4e0b\u5217\u662f\u51e0\u79cd\u5f88\u591a\u4eba\u76f8\u4fe1\u7684\u8c0e\u8a00\uff1a<\/p>\n<ul>\n<li>\u201c\u77e5\u9053\u641c\u7d22\u5185\u5bb9\u7684\u5ba2\u6237\u4f1a\u6309\u7167\u60a8\u671f\u671b\u7684\u65b9\u5f0f\u53bb\u641c\u7d22\u3002\u201d<\/li>\n<li>\u201c\u60a8\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u59cb\u7ec8\u80fd\u591f\u6210\u529f\u89e3\u6790\u67e5\u8be2\u7684\u67e5\u8be2\u89e3\u6790\u5668\u3002\u201d<\/li>\n<li>\u201c\u8bbe\u7f6e\u597d\u4e4b\u540e\uff0c\u641c\u7d22\u4fbf\u53ef\u4ee5\u5728\u4e0b\u5468\u6309\u7167\u76f8\u540c\u7684\u65b9\u5f0f\u53bb\u641c\u7d22\u3002\u201d<\/li>\n<li>\u201c\u540c\u4e49\u8bcd\u7b80\u5355\u6613\u7528\u3002\u201d<\/li>\n<li>\u2026\u2026\u8fd8\u6709\u8bb8\u591a\u5176\u4ed6\u503c\u5f97\u4e86\u89e3\u7684\u4eae\u70b9\uff0c\u60a8\u5e94\u5f53\u627e\u6765\u4e00\u8bfb!<\/li>\n<\/ul>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u641c\u7d22\u6709\u8bb8\u591a\u7684\u6311\u6218\uff0c\u800c\u4e14\u8fd9\u4e9b\u6311\u6218\u4e0d\u4ec5\u4ec5\u5728\u5e55\u540e\u3002\u60a8\u9700\u8981\u601d\u8003\u5982\u4f55\u7ba1\u7406\u72b6\u6001\uff0c\u6784\u5efa\u7528\u4e8e\u7b5b\u9009\u3001\u5206\u9762\u3001\u6392\u5e8f\u3001\u5206\u9875\u3001\u540c\u4e49\u8bcd\u3001\u8bed\u8a00\u5904\u7406\u7684\u7ec4\u4ef6\uff0c\u4ee5\u53ca\u66f4\u591a\u5176\u4ed6\u65b9\u9762\u7684\u4e8b\u60c5\u3002\u4f46\u662f\uff0c\u603b\u800c\u8a00\u4e4b\uff1a<\/p>\n<p>\u6784\u5efa\u4f18\u5f02\u7684\u641c\u7d22\u9700\u8981\u7ecf\u8fc7\u4e24\u4e2a\u590d\u6742\u7684\u90e8\u5206\uff1a(1) \u641c\u7d22\u5f15\u64ce\uff0c\u5b83\u63d0\u4f9b\u652f\u6301\u641c\u7d22\u7684 API;(2) \u641c\u7d22\u5e93\uff0c\u5b83\u4e30\u5bcc\u641c\u7d22\u4f53\u9a8c\u3002<\/p>\n<p>\u5173\u4e8e\u641c\u7d22\u5f15\u64ce\uff0c\u6211\u4eec\u5c06\u57fa\u4e8e Elastic \u5e94\u7528\u641c\u7d22\u8fdb\u884c\u4ecb\u7ecd\u3002<\/p>\n<p>\u5173\u4e8e\u641c\u7d22\u4f53\u9a8c\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd OS \u641c\u7d22\u5e93\uff1aSearch UI\u3002<\/p>\n<p>\u5f53\u6211\u4eec\u5b8c\u6210\u65f6\uff0c\u5c06\u751f\u6210\u7c7b\u4f3c\u4ee5\u4e0b\u6240\u793a\u7684\u9875\u9762<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p><strong>\u641c\u7d22\u5f15\u64ce\uff1aElastic \u5e94\u7528\u641c\u7d22<\/strong><\/p>\n<p>Elastic \u5e94\u7528\u641c\u7d22\u53ef\u4f5c\u4e3a\u4e00\u9879\u4ed8\u8d39\u7684\u6258\u7ba1\u670d\u52a1\u6216\u514d\u8d39\u7684\u81ea\u7ba1\u578b\u5206\u53d1\u63d0\u4f9b\u3002\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u4f7f\u7528\u6258\u7ba1\u670d\u52a1\uff0c\u4f46\u8bf7\u8bb0\u4f4f\uff0c\u5982\u679c\u60a8\u81ea\u5df1\u6258\u7ba1\u7684\u8bdd\uff0c\u60a8\u7684\u56e2\u961f\u53ef\u4ee5\u901a\u8fc7\u57fa\u672c\u8bb8\u53ef_\u514d\u8d39_\u4f7f\u7528 Search UI \u548c\u5e94\u7528\u641c\u7d22\u3002<\/p>\n<p>\u8ba1\u5212\uff1a\u5c06\u4ee3\u8868\u6709\u53f2\u4ee5\u6765\u6700\u597d\u7684\u7535\u5b50\u6e38\u620f\u7684\u6587\u6863\u7d22\u5f15\u5230\u641c\u7d22\u5f15\u64ce\u4e2d\uff0c\u7136\u540e\u8bbe\u8ba1\u5e76\u4f18\u5316\u641c\u7d22\u4f53\u9a8c\uff0c\u4ee5\u641c\u7d22\u5b83\u4eec\u3002<\/p>\n<p>\u9996\u5148\uff0c\u6ce8\u518c\u4ee5\u83b7\u5f97 14 \u5929\u7684\u8bd5\u7528\u671f \u2014 \u4e0d\u9700\u8981\u4fe1\u7528\u5361\u3002<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u5f15\u64ce\u3002\u6709 13 \u79cd\u4e0d\u540c\u7684\u8bed\u8a00\u53ef\u4f9b\u9009\u62e9\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u5b83\u547d\u540d\u4e3a video-games\uff0c\u5e76\u5c06\u8bed\u8a00\u8bbe\u4e3a English(\u82f1\u8bed)\u3002<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u4e0b\u8f7d best video games data set(\u6700\u4f73\u7535\u5b50\u6e38\u620f\u6570\u636e\u96c6)\uff0c\u7136\u540e\u4f7f\u7528\u5bfc\u5165\u7a0b\u5e8f\u5c06\u5176\u4e0a\u4f20\u5230\u5e94\u7528\u641c\u7d22\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u5355\u51fb\u201cEngine\u201d(\u5f15\u64ce)\uff0c\u7136\u540e\u9009\u62e9 Credentials(\u51ed\u636e)\u9009\u9879\u5361\u3002<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5177\u6709\u6709\u9650\u5f15\u64ce\u8bbf\u95ee\u6743\u9650\u7684\u516c\u5171\u641c\u7d22\u5bc6\u94a5\uff0c\u4ee5\u53ea\u80fd\u8bbf\u95ee video-games \u5f15\u64ce\u3002<\/p>\n<p>\u68c0\u7d22\u8fd9\u4e2a\u65b0\u7684\u516c\u5171\u641c\u7d22\u5bc6\u94a5\u548c\u60a8\u7684\u4e3b\u673a\u6807\u8bc6\u7b26\u3002<\/p>\n<p>\u867d\u7136\u770b\u8d77\u6765\u4e0d\u600e\u4e48\u6837\uff0c\u4f46\u6211\u4eec\u73b0\u5728\u6709\u4e86\u4e00\u4e2a\u529f\u80fd\u9f50\u5168\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u53ef\u4ee5\u4f7f\u7528\u4f18\u5316\u7684\u641c\u7d22 API \u6765\u641c\u7d22\u6211\u4eec\u7684\u7535\u5b50\u6e38\u620f\u6570\u636e\u4e86\u3002<\/p>\n<p>\u4e0b\u5217\u662f\u622a\u6b62\u73b0\u5728\u6211\u4eec\u5df2\u5b8c\u6210\u7684\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u521b\u5efa\u4e86\u641c\u7d22\u5f15\u64ce<\/li>\n<li>\u91c7\u96c6\u4e86\u6587\u6863<\/li>\n<li>\u521b\u5efa\u4e86\u9ed8\u8ba4\u67b6\u6784<\/li>\n<li>\u68c0\u7d22\u4e86\u53ef\u516c\u5f00\u7ed9\u6d4f\u89c8\u5668\u7684\u3001\u9650\u5b9a\u8303\u56f4\u7684\u4e00\u6b21\u6027\u51ed\u636e<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u662f\u622a\u81f3\u73b0\u5728\u9488\u5bf9\u5e94\u7528\u641c\u7d22\u6240\u505a\u7684\u64cd\u4f5c\u3002<\/p>\n<p>\u4e0b\u9762\u6211\u4eec\u4f7f\u7528 Search UI \u5f00\u59cb\u6784\u5efa\u641c\u7d22\u4f53\u9a8c\u3002<\/p>\n<p><strong>\u641c\u7d22\u5e93\uff1aSearch UI<\/strong><\/p>\n<p>\u6211\u4eec\u5c06\u4f7f\u7528 create-react-app \u652f\u67b6\u5b9e\u7528\u5de5\u5177\u6765\u521b\u5efa React \u5e94\u7528\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5728\u6b64\u57fa\u7840\u4e0a\uff0c\u6211\u4eec\u5c06\u5b89\u88c5 Search UI \u548c\u5e94\u7528\u641c\u7d22\u8fde\u63a5\u5668\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5728\u5f00\u53d1\u6a21\u5f0f\u4e0b\u542f\u52a8\u5e94\u7528\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u4f7f\u7528\u60a8\u559c\u7231\u7684\u6587\u672c\u7f16\u8f91\u5668\u6253\u5f00 src\/App.js\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u4ece\u4e00\u4e9b\u6837\u672c\u4ee3\u7801\u5f00\u59cb\u5165\u624b\uff0c\u5c06\u5176\u89e3\u5305\u3002<\/p>\n<p>\u6ce8\u610f\u5907\u6ce8!<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p><strong>\u7b2c 1 \u6b65\uff1a\u5bfc\u5165\u8bed\u53e5<\/strong><\/p>\n<p>\u6211\u4eec\u9700\u8981\u5bfc\u5165 Search UI \u4f9d\u8d56\u9879\u548c React\u3002<\/p>\n<p>\u6838\u5fc3\u7ec4\u4ef6\u3001\u8fde\u63a5\u5668\u548c\u89c6\u56fe\u7ec4\u4ef6\u5305\u542b\u5728\u4e09\u4e2a\u4e0d\u540c\u7684\u5305\u4e2d\uff1a<\/p>\n<ul>\n<li>@elastic\/search-ui-app-search-connector<\/li>\n<li>@elastic\/react-search-ui<\/li>\n<li>@elastic\/react-search-ui-views<\/li>\n<\/ul>\n<p>\u968f\u7740\u8bfe\u7a0b\u7684\u8fdb\u884c\uff0c\u6211\u4eec\u5c06\u4e86\u89e3\u6bcf\u4e2a\u5305\u7684\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u5c06\u4e3a\u8fd9\u4e2a\u9879\u76ee\u5bfc\u5165\u9ed8\u8ba4\u6837\u5f0f\u8868\uff0c\u8fd9\u6837\u6211\u4eec\u65e0\u9700\u7f16\u5199\u81ea\u5df1\u7684 CSS \u884c\u4fbf\u53ef\u83b7\u5f97\u826f\u597d\u7684\u5916\u89c2\u548c\u611f\u89c9\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p><strong>\u7b2c 2 \u6b65\uff1a\u8fde\u63a5\u5668<\/strong><\/p>\n<p>\u6211\u4eec\u4ece\u5e94\u7528\u641c\u7d22\u83b7\u53d6\u4e86\u516c\u5171\u641c\u7d22\u5bc6\u94a5\u548c\u4e3b\u673a\u6807\u8bc6\u7b26\u3002<\/p>\n<p>\u73b0\u5728\u662f\u4f7f\u7528\u5b83\u4eec\u7684\u65f6\u5019\u4e86!<\/p>\n<p>Search UI \u4e2d\u7684\u8fde\u63a5\u5668\u5bf9\u8c61\u4f7f\u7528\u51ed\u636e\u4e0e\u5e94\u7528\u641c\u7d22\u6302\u94a9\u5e76\u652f\u6301\u641c\u7d22\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>Search UI \u53ef\u4e0e\u4efb\u4f55\u641c\u7d22 API \u534f\u540c\u5de5\u4f5c\u3002\u4f46\u662f\u6709\u4e86\u8fde\u63a5\u5668\uff0c\u641c\u7d22 API \u4e0d\u9700\u8981\u4efb\u4f55\u66f4\u6df1\u5c42\u914d\u7f6e\uff0c\u4fbf\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n<p><strong>\u7b2c 3 \u6b65\uff1aconfigurationOptions<\/strong><\/p>\n<p>\u5728\u6df1\u5165\u63a2\u8ba8 configurationOptions \u4e4b\u524d\uff0c\u6211\u4eec\u82b1\u70b9\u65f6\u95f4\u8ba4\u771f\u601d\u8003\u4e00\u4e0b\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u4e00\u7ec4\u6570\u636e\u5bfc\u5165\u4e86\u641c\u7d22\u5f15\u64ce\u3002\u4f46\u662f\uff0c\u8fd9\u662f\u4ec0\u4e48\u6837\u7684\u6570\u636e\u5462?<\/p>\n<p>\u6211\u4eec\u5bf9\u6570\u636e\u4e86\u89e3\u8d8a\u591a\uff0c\u5c31\u8d8a\u80fd\u77e5\u9053\u5982\u4f55\u5c06\u6570\u636e\u63d0\u4f9b\u7ed9\u641c\u7d22\u4eba\u5458\uff0c\u5e76\u80fd\u77e5\u6653\u5982\u4f55\u914d\u7f6e\u641c\u7d22\u4f53\u9a8c\u3002<\/p>\n<p>\u8ba9\u6211\u4eec\u770b\u4e00\u4e2a\u5bf9\u8c61\uff0c\u5b83\u662f\u8fd9\u4e2a\u6570\u636e\u96c6\u4e2d\u6700\u597d\u7684\u5bf9\u8c61\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>We see that it has several text fields like name, year, platform, and so on and some number fields like critic_score, global_sales, and user_score.<\/p>\n<p>If we ask three key questions, we\u2019ll know enough to build a solid search experience:<\/p>\n<ul>\n<li>How will most people search?By the name of the video game.<\/li>\n<li>What will most people want to see in a result?The name of the video game, its genre, publisher, scores, and its platform.<\/li>\n<li>How will most people filter, sort, and facet?By score, genre, publisher, and platform.<\/li>\n<\/ul>\n<p>We then can translate those answers into our configurationOptions:<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u6211\u4eec\u5df2\u5c06 Search UI \u8fde\u63a5\u5230\u641c\u7d22\u5f15\u64ce\uff0c\u63a5\u4e0b\u6765\u9009\u62e9\u7ba1\u7406\u641c\u7d22\u6570\u636e\u3001\u663e\u793a\u7ed3\u679c\u548c\u6d4f\u89c8\u7ed3\u679c\u7684\u65b9\u5f0f\u3002\u4f46\u662f\uff0c\u6211\u4eec\u9700\u8981\u4e00\u4e9b\u4e1c\u897f\u5c06\u6240\u6709\u5185\u5bb9\u4e0e Search UI \u7684\u52a8\u6001\u524d\u7aef\u7ec4\u4ef6\u8054\u7cfb\u8d77\u6765\u3002<\/p>\n<p><strong>\u7b2c 4 \u6b65\uff1aSearchProvider<\/strong><\/p>\n<p>\u8fd9\u662f\u63a7\u5236\u6240\u6709\u5185\u5bb9\u7684\u5bf9\u8c61\u3002SearchProvider \u662f\u5d4c\u5957\u6240\u6709\u5176\u4ed6\u7ec4\u4ef6\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>Search UI \u63d0\u4f9b\u4e86 Layout \u7ec4\u4ef6\uff0c\u7528\u4e8e\u7ed8\u5236\u5178\u578b\u7684\u641c\u7d22\u5e03\u5c40\u3002\u53e6\u6709\u4e00\u4e9b\u6df1\u5165\u5b9a\u5236\u9009\u9879\uff0c\u4f46\u6211\u4eec\u5728\u6b64\u6559\u7a0b\u4e2d\u4e0d\u505a\u6df1\u5165\u4ecb\u7ecd\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u505a\u4e24\u4ef6\u4e8b\u60c5\uff1a<\/p>\n<ol>\n<li>\u5c06 configurationOptions \u4f20\u5165 SearchProvider\u3002<\/li>\n<li>\u5c06\u4e00\u4e9b\u7ed3\u6784\u6784\u5efa\u5757\u653e\u5165 Layout\uff0c\u5e76\u6dfb\u52a0\u4e24\u4e2a\u57fa\u672c\u7ec4\u4ef6\uff1aSearchBox \u548c Results\u3002<\/li>\n<\/ol>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u76ee\u524d\uff0c\u6211\u4eec\u5df2\u5728\u524d\u7aef\u5b8c\u6210\u57fa\u672c\u8bbe\u7f6e\u5de5\u4f5c\u3002\u540e\u7aef\u8fd8\u6709\u4e00\u4e9b\u989d\u5916\u7ec6\u8282\u9700\u8981\u5904\u7406\uff0c\u7136\u540e\u6211\u4eec\u624d\u80fd\u8fd0\u884c\u3002\u6211\u4eec\u8fd8\u5e94\u8be5\u7814\u7a76\u76f8\u5173\u5ea6\u6a21\u578b\uff0c\u4ee5\u4fbf\u6839\u636e\u8fd9\u4e2a\u9879\u76ee\u7684\u72ec\u7279\u9700\u6c42\u5bf9\u641c\u7d22\u8fdb\u884c\u5fae\u8c03\u3002<\/p>\n<p>\u9000\u51fa\u5230\u5e94\u7528\u641c\u7d22\u2026\u2026<\/p>\n<p><strong>\u56de\u5230\u5b9e\u9a8c\u5ba4<\/strong><\/p>\n<p>\u5e94\u7528\u641c\u7d22\u5177\u6709\u5f3a\u5927\u800c\u4f18\u5316\u7684\u641c\u7d22\u5f15\u64ce\u529f\u80fd\uff0c\u80fd\u591f\u4f7f\u4e00\u5ea6\u590d\u6742\u7684\u8c03\u6574\u53d8\u5f97\u66f4\u52a0\u6709\u8da3\u3002\u901a\u8fc7\u51e0\u6b21\u5355\u51fb\uff0c\u4fbf\u53ef\u4ee5\u6267\u884c\u7cbe\u7ec6\u7684\u76f8\u5173\u5ea6\u8c03\u6574\u548c\u65e0\u7f1d\u67b6\u6784\u66f4\u6539\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u9996\u5148\u8c03\u6574\u67b6\u6784\u6765\u67e5\u770b\u5b83\u7684\u5b9e\u9645\u60c5\u51b5\u3002<\/p>\n<p>\u767b\u5f55\u5e94\u7528\u641c\u7d22\u5f15\u64ce\uff0c\u7136\u540e\u5355\u51fb Manage(\u7ba1\u7406)\u90e8\u5206\u4e0b\u7684 Schema(\u67b6\u6784)\u3002<\/p>\n<p>\u6b64\u65f6\u5c06\u663e\u793a\u67b6\u6784\u300211 \u4e2a\u5b57\u6bb5\u4e2d\u7684\u6bcf\u4e2a\u5b57\u6bb5\u90fd\u9ed8\u8ba4\u4e3a text(\u6587\u672c)\u3002<\/p>\n<p>\u5728 configurationOptions \u5bf9\u8c61\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e24\u4e2a\u8303\u56f4\u5206\u9762\u6765\u5e2e\u52a9\u6309\u6570\u5b57\u641c\u7d22\uff1auser_score \u548c critic_score\u3002\u4e3a\u4e86\u4f7f\u8303\u56f4\u5206\u9762\u6309\u9884\u671f\u5de5\u4f5c\uff0c\u5b57\u6bb5\u7c7b\u578b\u9700\u8981\u8bbe\u4e3a\u6570\u5b57\u3002<\/p>\n<p>\u5355\u51fb\u6bcf\u4e2a\u5b57\u6bb5\u65c1\u7684\u4e0b\u62c9\u83dc\u5355\uff0c\u5c06\u5176\u6539\u4e3a number(\u6570\u5b57)\uff0c\u7136\u540e\u5355\u51fb Update Types(\u66f4\u65b0\u7c7b\u578b)\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5f15\u64ce\u5373\u523b\u91cd\u65b0\u7d22\u5f15\u3002\u7a0d\u540e\uff0c\u5f53\u6211\u4eec\u5c06\u5206\u9762\u7ec4\u4ef6\u6dfb\u52a0\u5230\u5e03\u5c40\u4e2d\u65f6\uff0c\u8303\u56f4\u7b5b\u9009\u5668\u5c06\u6309\u6211\u4eec\u9884\u671f\u7684\u65b9\u5f0f\u5de5\u4f5c\u3002\u73b0\u5728\uff0c\u770b\u770b\u771f\u6b63\u5b9e\u7528\u7684\u529f\u80fd\u3002<\/p>\n<p><strong>\u672c\u90e8\u5206\u975e\u5e38\u91cd\u8981<\/strong><\/p>\n<p>\u6709\u4e09\u4e2a\u5173\u952e\u7684\u76f8\u5173\u5ea6\u529f\u80fd\uff1a\u540c\u4e49\u8bcd\u3001\u7ba1\u7406\u548c\u76f8\u5173\u5ea6\u8c03\u6574\u3002<\/p>\n<p>\u9009\u62e9\u4fa7\u680f\u4e2d Search Settings(\u641c\u7d22\u8bbe\u7f6e)\u90e8\u5206\u4e0b\u7684\u6bcf\u9879\u529f\u80fd\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p><strong>\u540c\u4e49\u8bcd<\/strong><\/p>\n<p>\u6709\u4e9b\u4eba\u5f00\u8f7f\u8f66\uff0c\u6709\u4e9b\u4eba\u5f00\u6c7d\u8f66\uff0c\u6709\u4e9b\u4eba\u53ef\u80fd\u5f00\u8001\u7237\u8f66\u3002\u4e92\u8054\u7f51\u662f\u5168\u7403\u6027\u7684\uff0c\u4e16\u754c\u5404\u5730\u7684\u4eba\u4eec\u7528\u4e0d\u540c\u7684\u8bcd\u8bed\u6765\u63cf\u8ff0\u4e8b\u7269\u3002\u540c\u4e49\u8bcd\u53ef\u5e2e\u52a9\u60a8\u521b\u5efa\u4e00\u7ec4\u88ab\u8ba4\u4e3a\u662f\u76f8\u540c\u7684\u672f\u8bed\u3002<\/p>\n<p>\u5728\u7535\u5b50\u6e38\u620f\u641c\u7d22\u5f15\u64ce\u6848\u4f8b\u4e2d\uff0c\u6211\u4eec\u77e5\u9053\u4eba\u4eec\u60f3\u8981\u67e5\u627e Final Fantasy\u3002\u4f46\u4ed6\u4eec\u53ef\u80fd\u53ea\u952e\u5165 FF\u3002<\/p>\n<p>\u5355\u51fb Synonyms(\u540c\u4e49\u8bcd)\uff0c\u9009\u62e9 Create a Synonym Set(\u521b\u5efa\u540c\u4e49\u8bcd\u96c6)\uff0c\u7136\u540e\u8f93\u5165\u8fd9\u4e9b\u672f\u8bed\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5355\u51fb Save(\u4fdd\u5b58)\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u6dfb\u52a0\u4efb\u610f\u6570\u91cf\u7684\u540c\u4e49\u8bcd\u96c6\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u641c\u7d22 FF \u5c06\u4e0e\u641c\u7d22 Final Fantasy \u5177\u6709\u76f8\u540c\u7684\u6743\u91cd\u3002<\/p>\n<p><strong>\u7ba1\u7406<\/strong><\/p>\n<p>\u7ba1\u7406\u662f\u6700\u53d7\u6b22\u8fce\u7684\u529f\u80fd\u3002\u5982\u679c\u67d0\u4eba\u641c\u7d22 Final Fantasy \u6216 FF\uff0c\u7ed3\u679c\u4f1a\u600e\u6837\u5462?\u8fd9\u4e2a\u7cfb\u5217\u4e2d\u6709\u5f88\u591a\u6e38\u620f\uff0c\u4ed6\u4eec\u4f1a\u83b7\u5f97\u54ea\u4e2a\u7ed3\u679c\u5462?<\/p>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6392\u5217\u524d\u4e94\u7684\u7ed3\u679c\u5c06\u5982\u4e0b\u663e\u793a\uff1a<\/p>\n<p>1.Final Fantasy VIII<\/p>\n<p>2.Final Fantasy X<\/p>\n<p>3.Final Fantasy Tactics<\/p>\n<p>4.Final Fantasy IX<\/p>\n<p>5.Final Fantasy XIII<\/p>\n<p>\u8fd9\u597d\u50cf\u4e0d\u5bf9\uff0cFinal Fantasy VII \u624d\u662f Final Fantasy \u4e2d\u6700\u4f73\u7684\u4e00\u6b3e\u6e38\u620f\uff0c\u800c\u4e14 Final Fantasy XIII \u4e0d\u662f\u5f88\u597d\u7684\u6e38\u620f! <\/p>\n<p>\u6211\u4eec\u662f\u5426\u53ef\u4ee5\u8ba9\u641c\u7d22 Final Fantasy \u7684\u4eba\u4eec\u770b\u5230 Final Fantasy VII \u5217\u5728\u7b2c\u4e00\u4f4d?\u662f\u5426\u53ef\u4ee5\u4ece\u7ed3\u679c\u4e2d\u5220\u9664 Final Fantasy XIII?<\/p>\n<p>\u6211\u4eec\u80fd\u505a\u5230!<\/p>\n<p>\u5355\u51fb Curations(\u7ba1\u7406)\uff0c\u8f93\u5165\u67e5\u8be2\uff1aFinal Fantasy\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u901a\u8fc7\u6309\u4f4f\u8868\u6700\u5de6\u4fa7\u7684\u628a\u624b\uff0c\u5c06 Final Fantasy VII \u6587\u6863\u5411\u4e0a\u62d6\u52a8\u5230 Promoted Documents(\u63d0\u5347\u7684\u6587\u6863)\u90e8\u5206\u3002\u7136\u540e\uff0c\u5355\u51fb Final Fantasy XIII \u6587\u6863\u4e0a\u7684 Hide Result(\u9690\u85cf\u7ed3\u679c)\u6309\u94ae \u2014 \u5e26\u8d2f\u7a7f\u7ebf\u7684\u773c\u775b\u56fe\u6807\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u73b0\u5728\uff0c\u641c\u7d22 Final Fantasy \u6216 FF \u5c06\u4f1a\u770b\u5230 Final Fantasy VII \u6392\u5728\u9996\u4f4d\uff0c<\/p>\n<p>\u5e76\u4e14\u6839\u672c\u770b\u4e0d\u5230 Final Fantasy XIII \u4e86\u3002\u54c8\u54c8!<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u63d0\u5347\u548c\u9690\u85cf\u591a\u4e2a\u6587\u6863\u3002\u6211\u4eec\u751a\u81f3\u53ef\u4ee5\u5bf9\u63d0\u5347\u7684\u6587\u6863\u8fdb\u884c\u6392\u5e8f\uff0c\u4ee5\u4fbf\u5b8c\u5168\u63a7\u5236\u6bcf\u4e2a\u67e5\u8be2\u9876\u90e8\u663e\u793a\u7684\u5185\u5bb9\u3002<\/p>\n<p><strong>\u76f8\u5173\u5ea6\u8c03\u6574<\/strong><\/p>\n<p>\u5355\u51fb\u4fa7\u680f\u4e2d\u7684 Relevance Tuning(\u76f8\u5173\u5ea6\u8c03\u6574)\u3002<\/p>\n<p>\u6211\u4eec\u641c\u7d22\u4e00\u4e2a\u6587\u672c\u5b57\u6bb5\uff1aname \u5b57\u6bb5\u3002\u4f46\u662f\uff0c\u5982\u679c\u6211\u4eec\u62e5\u6709\u591a\u4e2a\u8981\u641c\u7d22\u7684\u6587\u672c\u5b57\u6bb5(\u4f8b\u5982 name \u5b57\u6bb5\u548c description \u5b57\u6bb5)\uff0c\u8be5\u600e\u4e48\u529e?\u6211\u4eec\u4f7f\u7528\u7684\u7535\u5b50\u6e38\u620f\u6570\u636e\u96c6\u4e0d\u5305\u542b description \u5b57\u6bb5\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u5c06\u4f2a\u9020\u4e00\u4e9b\u6587\u6863\u6765\u4ed4\u7ec6\u8003\u8651\u8fd9\u4e2a\u5b57\u6bb5\u3002<\/p>\n<p>\u5047\u8bbe\u6587\u6863\u7c7b\u4f3c\u5982\u4e0b\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5982\u679c\u67d0\u4eba\u60f3\u8981\u67e5\u627e\u6e38\u620f Magical Quest\uff0c\u5219\u4f1a\u8f93\u5165\u5b83\u4f5c\u4e3a\u67e5\u8be2\u3002\u4f46\u662f\uff0c\u7b2c\u4e00\u4e2a\u7ed3\u679c\u5c06\u662f Dangerous Quest\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837?\u8fd9\u662f\u56e0\u4e3a\u201cmagical\u201d\u4e00\u8bcd\u5728 Dangerous Quest \u7684\u63cf\u8ff0\u4e2d\u51fa\u73b0\u4e86\u4e09\u6b21\uff0c\u641c\u7d22\u5f15\u64ce\u4e0d\u77e5\u9053\u8fd9\u4e2a\u5b57\u6bb5\u6bd4\u53e6\u4e00\u4e2a\u5b57\u6bb5\u66f4\u91cd\u8981\u3002\u4e8e\u662f\uff0c\u5b83\u5c06 Dangerous Quest \u6392\u5f97\u66f4\u9760\u524d\u3002\u8fd9\u5c31\u662f\u8981\u8fdb\u884c\u76f8\u5173\u5ea6\u8c03\u6574\u7684\u539f\u56e0\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u5728\u5176\u4ed6\u5185\u5bb9\u4e2d\u9009\u62e9\u4e00\u4e2a\u5b57\u6bb5\uff0c\u7136\u540e\u63d0\u9ad8\u5176\u76f8\u5173\u5ea6\u6743\u91cd\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u770b\u5230\uff0c\u5728\u63d0\u9ad8\u6743\u91cd\u540e\uff0c\u6b63\u786e\u7684\u9879 Magical Quest \u4e0a\u5347\u5230\u9876\u90e8\uff0c\u56e0\u4e3a name \u5b57\u6bb5\u53d8\u5f97\u66f4\u91cd\u8981\u3002\u6211\u4eec\u8981\u505a\u7684\u5c31\u662f\u5c06\u6ed1\u5757\u62d6\u52a8\u5230\u66f4\u9ad8\u503c\uff0c\u7136\u540e\u5355\u51fb Save(\u4fdd\u5b58)\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u4f7f\u7528\u5e94\u7528\u641c\u7d22\u6267\u884c\u4e0b\u5217\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u8c03\u6574\u67b6\u6784\uff0c\u5c06 user_score \u548c critic_score \u66f4\u6539\u4e3a number \u5b57\u6bb5\u3002<\/li>\n<li>\u7cbe\u7ec6\u8c03\u6574\u76f8\u5173\u5ea6\u6a21\u578b\u3002<\/li>\n<\/ul>\n<p>\u81f3\u6b64\uff0c\u6211\u4eec\u5c31\u4ecb\u7ecd\u5b8c\u4e86\u8fd9\u4e9b\u5de7\u5999\u800c\u5148\u8fdb\u7684\u201c\u4eea\u8868\u677f\u201d\u529f\u80fd \u2014 \u6bcf\u9879\u529f\u80fd\u90fd\u6709\u5339\u914d\u7684 API \u7aef\u70b9\uff0c\u5982\u679c\u60a8\u4e0d\u559c\u6b22 GUI\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528 API \u7aef\u70b9\u4ee5\u7f16\u7a0b\u65b9\u5f0f\u8fd0\u884c\u5404\u529f\u80fd\u3002<\/p>\n<p>\u73b0\u5728\uff0c\u8ba9\u6211\u4eec\u5b8c\u6210 Search UI \u7684\u4ecb\u7ecd\u3002<\/p>\n<p><strong>\u6536\u5c3e\u5de5\u4f5c<\/strong><\/p>\n<p>\u73b0\u5728\uff0c\u60a8\u7684 UI \u5e94\u8be5\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u4e86\u3002\u5c1d\u8bd5\u8fdb\u884c\u4e00\u4e9b\u67e5\u8be2\uff0c\u770b\u770b\u7ed3\u679c\u5982\u4f55\u3002\u9996\u5148\uff0c\u6211\u4eec\u7f3a\u5c11\u4e00\u4e9b\u5de5\u5177\u6765\u63a2\u7d22\u6211\u4eec\u7684\u7ed3\u679c\uff0c\u4f8b\u5982\uff0c\u7b5b\u9009\u3001\u5206\u9762\u3001\u6392\u5e8f\u7b49\u7b49\uff0c\u4f46\u662f\u53ef\u4ee5\u641c\u7d22\u4e86\u3002\u6211\u4eec\u9700\u8981\u5145\u5b9e UI\u3002<\/p>\n<p>\u5728\u521d\u59cb src\/App.js \u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u5bfc\u5165\u4e86\u4e09\u4e2a\u57fa\u672c\u7ec4\u4ef6\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u6839\u636e\u6211\u4eec\u5bf9\u914d\u7f6e\u9009\u9879\u5b9a\u4e49\u7684\u5185\u5bb9\uff0c\u8ba9\u6211\u4eec\u518d\u6dfb\u52a0\u4e00\u4e9b\u7ec4\u4ef6\u3002<\/p>\n<p>\u5bfc\u5165\u4ee5\u4e0b\u7ec4\u4ef6\u5c06\u4f1a\u542f\u7528 UI \u4e2d\u7f3a\u5931\u7684\u529f\u80fd\uff1a<\/p>\n<ul>\n<li>PagingInfo\uff1a\u5728\u5f53\u524d\u9875\u9762\u4e0a\u663e\u793a\u4fe1\u606f\u3002<\/li>\n<li>ResultsPerPage\uff1a\u914d\u7f6e\u5728\u6bcf\u4e00\u4e2a\u9875\u9762\u4e0a\u663e\u793a\u7684\u7ed3\u679c\u6570\u3002<\/li>\n<li>Paging\uff1a\u5bfc\u822a\u4e0d\u540c\u7684\u9875\u9762\u3002<\/li>\n<li>Facet\uff1a\u4ee5\u6570\u636e\u7c7b\u578b\u7279\u6709\u7684\u65b9\u5f0f\u7b5b\u9009\u548c\u6d4f\u89c8\u6570\u636e\u3002<\/li>\n<li>Sorting\uff1a\u91cd\u65b0\u6392\u5b9a\u7ed9\u5b9a\u5b57\u6bb5\u7684\u7ed3\u679c\u3002<\/li>\n<\/ul>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5bfc\u5165\u540e\uff0c\u7ec4\u4ef6\u53ef\u4ee5\u653e\u5165\u5230 Layout \u4e2d\u3002<\/p>\n<p>Layout \u7ec4\u4ef6\u5c06\u9875\u9762\u5206\u4e3a\u591a\u4e2a\u90e8\u5206\uff0c\u5404\u7ec4\u4ef6\u53ef\u4ee5\u901a\u8fc7\u5c5e\u6027\u653e\u5165\u8fd9\u4e9b\u90e8\u5206\u4e2d\u3002<\/p>\n<p>\u5b83\u5305\u542b\u4ee5\u4e0b\u90e8\u5206\uff1a<\/p>\n<ul>\n<li>Header\uff1a\u641c\u7d22\u6846\/\u641c\u7d22\u680f<\/li>\n<li>bodyContent\uff1a\u7ed3\u679c\u5bb9\u5668<\/li>\n<li>sideContent\uff1a\u4fa7\u680f\uff0c\u5176\u4e2d\u5305\u542b\u5206\u9762\u548c\u6392\u5e8f\u9009\u9879<\/li>\n<li>bodyHeader\uff1a\u56f4\u7ed5\u7ed3\u679c\u5305\u542b\u4e86\u4e0a\u4e0b\u6587\u4e30\u5bcc\u7684\u4fe1\u606f\uff0c\u4f8b\u5982\u5f53\u524d\u9875\u9762\u548c\u6bcf\u4e00\u9875\u9762\u4e0a\u7684\u7ed3\u679c\u6570\u91cf<\/li>\n<li>bodyFooter\uff1a\u7528\u4e8e\u5728\u9875\u9762\u4e4b\u95f4\u5feb\u901f\u5bfc\u822a\u7684\u5206\u9875\u9009\u9879<\/li>\n<\/ul>\n<p>\u7ec4\u4ef6\u5448\u73b0\u6570\u636e\u3002\u6570\u636e\u662f\u6839\u636e\u6211\u4eec\u5728 configurationOptions \u4e2d\u63d0\u4f9b\u7684\u641c\u7d22\u8bbe\u7f6e\u8fdb\u884c\u83b7\u53d6\u7684\u3002\u73b0\u5728\uff0c\u6211\u4eec\u5c06\u6bcf\u4e2a\u7ec4\u4ef6\u653e\u5165\u76f8\u5e94\u7684 Layout \u90e8\u5206\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u6211\u4eec\u5728 configurationOptions \u4e2d\u63cf\u8ff0\u4e86\u4e94\u4e2a\u5206\u9762\u7ef4\u5ea6\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u5c06\u521b\u5efa\u4e94\u4e2a Facet \u7ec4\u4ef6\u3002\u6bcf\u4e2a Facet \u7ec4\u4ef6\u90fd\u5c06\u4f7f\u7528\u4e00\u4e2a\u201cfield\u201d\u5c5e\u6027\u4f5c\u4e3a\u8fd4\u56de\u6570\u636e\u7684\u952e\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u5b83\u4eec\u4ee5\u53ca Sorting \u7ec4\u4ef6\u653e\u5165 sideContent \u90e8\u5206\u4e2d\uff0c\u7136\u540e\u5c06 Paging\u3001PagingInfo \u548c ResultsPerPage \u7ec4\u4ef6\u653e\u5165\u6700\u9002\u5408\u5b83\u4eec\u7684\u90e8\u5206\u4e2d\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u73b0\u5728\uff0c\u8ba9\u6211\u4eec\u770b\u4e00\u4e0b\u672c\u5730\u5f00\u53d1\u73af\u5883\u4e2d\u7684\u641c\u7d22\u4f53\u9a8c\u3002<\/p>\n<p>\u597d\u591a\u4e86!\u6211\u4eec\u6709\u4e86\u5f88\u591a\u9009\u9879\u6765\u6d4f\u89c8\u641c\u7d22\u7ed3\u679c\u3002<\/p>\n<p>\u6211\u4eec\u6dfb\u52a0\u4e86\u4e00\u4e9b\u989d\u5916\u529f\u80fd\uff0c\u4f8b\u5982\uff0c\u591a\u4e2a\u6392\u5e8f\u9009\u9879\uff0c\u5e76\u4e14\u901a\u8fc7\u6dfb\u52a0\u5355\u4e00\u6807\u5fd7\u4f7f\u5f97\u53d1\u5e03\u8005\u5206\u9762\u53ef\u7b5b\u9009\u3002\u5c1d\u8bd5\u4f7f\u7528\u4e00\u4e2a\u7a7a\u67e5\u8be2\u8fdb\u884c\u641c\u7d22\uff0c\u4ece\u800c\u6d4f\u89c8\u6240\u6709\u9009\u9879\u3002<\/p>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u770b\u4e00\u4e0b\u641c\u7d22\u4f53\u9a8c\u7684\u6700\u540e\u4e00\u4e2a\u529f\u80fd\u3002\u5b83\u5c31\u662f\u53d7\u6b22\u8fce\u7684<\/p>\n<p>\u201c\u81ea\u52a8\u5b8c\u6210\u201d\u529f\u80fd\u3002<\/p>\n<p><strong>\u81ea\u52a8\u5b8c\u6210<\/strong><\/p>\n<p>\u641c\u7d22\u4eba\u5458\u559c\u6b22\u81ea\u52a8\u5b8c\u6210\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u63d0\u4f9b\u5373\u65f6\u53cd\u9988\u3002\u5b83\u7684\u5efa\u8bae\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a\u7ed3\u679c\u548c\u67e5\u8be2\u3002\u6839\u636e\u65b9\u5f0f\u7684\u4e0d\u540c\uff0c\u641c\u7d22\u4eba\u5458\u5c06\u6536\u5230\u76f8\u5173\u7ed3\u679c\u6216\u751f\u6210\u7ed3\u679c\u7684\u6f5c\u5728\u67e5\u8be2\u3002<\/p>\n<p>\u6211\u4eec\u5c06\u91cd\u70b9\u4ecb\u7ecd\u81ea\u52a8\u5b8c\u6210\u7684\u67e5\u8be2\u5efa\u8bae\u5f62\u5f0f\u3002<\/p>\n<p>\u8fd9\u9700\u8981\u505a\u4e24\u9879\u5feb\u901f\u66f4\u6539\u3002<\/p>\n<p>\u9996\u5148\uff0c\u9700\u8981\u5c06\u81ea\u52a8\u5b8c\u6210\u6dfb\u52a0\u5230 configurationOptions \u5bf9\u8c61\uff1a<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u5176\u6b21\uff0c\u9700\u8981\u5c06\u81ea\u52a8\u5b8c\u6210\u4f5c\u4e3a SearchBox \u7684\u4e00\u4e2a\u51fd\u6570\u542f\u7528\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\">&nbsp;<\/p>\n<p>\u597d\u4e86\uff0c\u5c31\u8fd9\u4e48\u7b80\u5355\u3002<\/p>\n<p>\u5c1d\u8bd5\u641c\u7d22\u4e00\u4e0b\u3002\u5f53\u60a8\u952e\u5165\u65f6\uff0c\u5c06\u663e\u793a\u81ea\u52a8\u5b8c\u6210\u67e5\u8be2\u5efa\u8bae\u3002<\/p>\n<p><strong>\u603b\u7ed3<\/strong><\/p>\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u62e5\u6709\u4e86\u5916\u89c2\u597d\u770b\u3001\u529f\u80fd\u5b8c\u5584\u7684\u641c\u7d22\u4f53\u9a8c\uff0c\u800c\u4e14\u8fd8\u907f\u514d\u4e86\u4e00\u5927\u5806\u4eba\u4eec\u5728\u5c1d\u8bd5\u5b9e\u65bd\u641c\u7d22\u65f6\u4f1a\u6389\u5165\u7684\u9677\u9631\u300230 \u5206\u949f\u7684\u8bb2\u89e3\u8fd8\u4e0d\u9519\uff0c\u662f\u4e0d\u662f?<\/p>\n<p style=\"text-align: center\"><span>[[316286]]<\/span>&nbsp;<\/p>\n<p>Search UI\u662f\u7075\u6d3b\u7684\u73b0\u4ee3 React \u6846\u67b6\uff0c\u53ef\u7528\u4e8e\u5feb\u901f\u5f00\u53d1\u641c\u7d22\u4f53\u9a8c\u3002Elastic \u5e94\u7528\u641c\u7d22\u662f Elasticsearch \u4e2d\u5185\u7f6e\u7684\u5f3a\u5927\u641c\u7d22\u5f15\u64ce\u3002\u8fd9\u662f\u4e00\u9879\u4ed8\u8d39\u7684\u6258\u7ba1\u670d\u52a1\uff0c\u6216\u8005\u901a\u8fc7\u4e00\u4e2a\u8db3\u591f\u7528\u7684\u57fa\u672c\u8bb8\u53ef\uff0c\u60a8\u4e5f\u53ef\u4ee5\u514d\u8d39\u8fd0\u884c\u5b83\u3002<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u6784\u5efa\u641c\u7d22\u4f53\u9a8c\u662f\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\u3002\u5b83\u521d\u770b\u8d77\u6765\u5f88\u7b80\u5355\uff1a\u6784\u5efa\u641c\u7d22\u680f\uff0c\u5c06\u6570\u636e\u653e\u5165\u6570\u636e\u5e93\uff0c\u7136\u540e\u8ba9\u7528\u6237\u8f93\u5165\u5185\u5bb9\u5bf9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":360024,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[],"class_list":["post-360023","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/360023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=360023"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/360023\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media\/360024"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=360023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=360023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=360023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}