{"id":41344,"date":"2023-04-03T18:02:09","date_gmt":"2023-01-25T07:38:19","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/"},"modified":"2024-01-15T10:55:30","modified_gmt":"2024-01-15T02:55:30","slug":"elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/","title":{"rendered":"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 &#8211; \u5e8f\u8a00"},"content":{"rendered":"<p>\u7531\u4e8eElasticsearch\u5728\u540e\u7aef\u64cd\u4f5c\u65b9\u9762\u7684Kotlin\u7248\u672c\u5e93\u975e\u5e38\u4f18\u79c0\uff0c\u6211\u6b63\u5728\u8fdb\u884c\u5176\u529f\u80fd\u9a8c\u8bc1\uff0c\u5e76\u540c\u65f6\u5c06\u5176\u624b\u518c\u7ffb\u8bd1\u6210\u65e5\u6587\u5e76\u505a\u7b14\u8bb0\u3002<\/p>\n<p>\u4e00\u5171\u670910\u96c6\u3002<\/p>\n<p>es-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff091 &lt;- \u8fd9\u91cc<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff092<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff093<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff094<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff095 &#8211; \u901a\u8fc7\u4e50\u89c2\u9501\u8fdb\u884c\u66f4\u65b0<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff096 &#8211; \u641c\u7d22<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff097 &#8211; Kotlin\u67e5\u8be2DSL<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff098 &#8211; \u5f02\u6b65<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff099 &#8211; DSLs<br \/>\nes-kotlin-client\u6307\u5357\uff08\u4e2d\u6587\u610f\u8bd1\uff0910 &#8211; \u793a\u4f8b<\/p>\n<h1>es-kotlin-client \u4f7f\u7528\u624b\u518c<\/h1>\n<p>Elasticsearch Kotlin\u5ba2\u6237\u7aef\u624b\u518c<\/p>\n<p>Elasticsearch Kotlin Client \u662f\u4e00\u4e2a\u7528 Kotlin \u7f16\u5199\u7684\u5ba2\u6237\u7aef\u5e93\uff0c\u5b83\u9002\u7528\u4e8e Elasticsearch \u63d0\u4f9b\u7684\u9ad8\u7ea7 Elasticsearch HTTP \u5ba2\u6237\u7aef\uff0c\u7528\u4e8e Java\u3002<\/p>\n<h1>\u524d\u8a00 (\u8282\u9009)<\/h1>\n<p>Java \u5ba2\u6237\u7aef\u4e0e REST API \u516c\u5f00\u7684\u6240\u6709\u529f\u80fd\u63d0\u4f9b\u76f8\u540c\uff0c\u5e76\u4e14 Elasticsearch Kotlin \u5ba2\u6237\u7aef\u4f7f\u5f97\u8fd9\u4e9b\u529f\u80fd\u66f4\u9002\u5408 Kotlin \u7684\u4f7f\u7528\u3002<\/p>\n<p>\u8fd9\u662f\u901a\u8fc7\u6dfb\u52a0\u8bb8\u591a\u65b9\u4fbf\u7684\u529f\u80fd\u548c\u5feb\u6377\u65b9\u5f0f\u6765\u5b9e\u73b0\u7684\u6269\u5c55\u529f\u80fd\u3002<br \/>\n\u5b83\u6dfb\u52a0\u4e86\u7528\u4e8e\u67e5\u8be2\u3001\u6620\u5c04\u5b9a\u4e49\u548c\u6279\u91cf\u7d22\u5f15\u521b\u5efa\u7684Kotlin DSL\u3002<br \/>\n\u4e3a\u4e86\u65b9\u4fbf\u6700\u5e38\u89c1\u7684\u7528\u4f8b\uff0c\u8be5\u5e93\u8fd8\u63d0\u4f9b\u4e86\u5bf9\u5b58\u50a8\u5e93\u7684\u62bd\u8c61\u5316\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u6211\u4eec\u8fd8\u63d0\u4f9b\u4e86Java\u5e93\u7684\u534f\u7a0b\u53cb\u597d\u7684\u5f02\u6b65\u5ba2\u6237\u7aef\u7248\u672c\u3002\u7528\u6237\u53ef\u4ee5\u7f16\u5199\u5b8c\u5168\u54cd\u5e94\u5f0f\u7684\u4ee3\u7801\uff0c\u5982Ktor\u6216Spring Boot\u3002\u8fd9\u4e2a\u5e93\u76ee\u524d\u662f\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u3002<\/p>\n<h1>\u8d77\u59cb\u90e8\u5206\uff08\u6574\u7bc7\u5185\u5bb9\uff09<\/h1>\n<p>\u8fd9\u662fElasticsearch Kotlin\u5ba2\u6237\u7aef\u7684\u624b\u518c\uff0c\u65e8\u5728\u4e3a\u670d\u52a1\u5668\u7aef\u7684Kotlin\u5f00\u53d1\u63d0\u4f9b\u4e00\u4e2a\u53cb\u597d\u7684Kotlin API\uff0c\u5efa\u7acb\u5728Elastic\u63d0\u4f9b\u7684Java\u5ba2\u6237\u7aef\u4e4b\u4e0a\u3002<\/p>\n<p>Elastic\u7684HighLevelRestClient\u662f\u4f7f\u7528Java\u7f16\u5199\u7684\uff0c\u5b83\u63d0\u4f9b\u4e86\u5bf9Elasticsearch\u516c\u5f00\u7684REST API\u7684\u57fa\u672c\u8bbf\u95ee\u529f\u80fd\u3002\u8fd9\u4e2aJava API\u53ef\u4ee5\u8bbf\u95eeOSS\u548cx-pack\u7684\u6240\u6709\u529f\u80fd\u3002\u4f46\u662f\uff0c\u5b83\u4e0d\u662f\u6700\u7b80\u5355\u7684\u76f4\u63a5\u64cd\u4f5c\u65b9\u6cd5\u3002<\/p>\n<p>Es\u7684Kotlin\u5ba2\u6237\u7aef\u5e76\u4e0d\u5265\u593a\u8fd9\u6837\u7684\u80fd\u529b\uff0c\u800c\u662f\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u529f\u80fd\u548c\u4fbf\u5229\u3002<\/p>\n<p>Kotlin\u5ba2\u6237\u7aef\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u6269\u5c55\u4e86Java\u5ba2\u6237\u7aef\u3002\u5b83\u53ef\u4ee5\u4f7f\u7528\u6269\u5c55\u51fd\u6570\u6765\u6dfb\u52a0\u529f\u80fd\uff0c\u4f7f\u7528\u751f\u6210\u7684\u4ee3\u7801\u5c06\u5185\u7f6e\u7684\u5f02\u6b65\u51fd\u6570\u9002\u914d\u5230Kotlin\u7684\u534f\u7a0b\u4e2d\uff0c\u8fd8\u53ef\u4ee5\u6dfb\u52a0Kotlin\u9886\u57df\u7279\u5b9a\u8bed\u8a00\uff08DSL\uff09\u6765\u8fdb\u884c\u67e5\u8be2\u548c\u6620\u5c04\u7b49\u64cd\u4f5c\u3002<\/p>\n<p>\u6839\u636e\u9700\u8981\uff0c\u53ef\u4ee5\u968f\u65f6\u4f7f\u7528\u57fa\u672c\u7684Java\u529f\u80fd\u3002<br \/>\n\u7136\u800c\uff0c\u5bf9\u4e8e\u6700\u5e38\u7528\u7684\u529f\u80fd\uff0c\u8fd9\u4e2a\u5ba2\u6237\u7aef\u63d0\u4f9b\u4e86\u4e00\u79cd\u9002\u7528\u4e8eKotlin\u7684\u65b9\u6cd5\u6765\u8bbf\u95ee\u8fd9\u4e9b\u529f\u80fd\u3002<\/p>\n<h1>\u9879\u76ee\u7684\u5386\u53f2<\/h1>\n<p>\u5728Elasticsearch 1.0\u53d1\u5e03\u4e4b\u524d\uff0c\u6211\u7528Java\u5199\u4e86\u7b2c\u4e00\u4e2aElasticsearch\u7684\u5ba2\u6237\u7aef\u3002\u8fd9\u662f\u6211\u4e8e2012\u5e74\u521b\u529e\u7684\u521d\u521b\u516c\u53f8\u7684\u5185\u90e8\u9879\u76ee\u3002\u6211\u539f\u672c\u6253\u7b97\u5c06\u5176\u5f00\u6e90\uff0c\u4f46\u672a\u80fd\u5b9e\u73b0\u3002\u5f53Elasticsearch 2.0\u53d1\u5e03\u65f6\uff0c\u6211\u5c1d\u8bd5\u4fee\u590d\u5b83\uff0c\u5e76\u521b\u5efa\u4e86OSS\u7248\u672c\u7684\u4ee3\u7801\u57fa\u7840\u3002<\/p>\n<p>\u4e0d\u8fc7\uff0c\u6211\u4eec\u6ca1\u6709\u80fd\u591f\u5c06\u6211\u4eec\u7684\u4ee3\u7801\u5e93\u5347\u7ea7\u52302.0\u7248\u672c\uff0c\u6240\u4ee5\u4ee3\u7801\u6ca1\u6709\u5b8c\u6210\u3002<br \/>\n\u968f\u540e\uff0cElasticsearch 5.0\u4ee5\u4e00\u79cd\u76f8\u5f53\u91cd\u8981\u7684\u65b9\u5f0f\u7834\u574f\u4e86\u517c\u5bb9\u6027\uff0c\u6211\u65e0\u6cd5\u652f\u6301\u5b83\u3002<br \/>\n\u53e6\u5916\uff0c\u7531\u4e8e\u5305\u542b\u4e86\u65b0\u7684\u4f4e\u7ea7Java\u5ba2\u6237\u7aef\uff0c\u4f7f\u5f97\u4ee3\u7801\u5e93\u5de5\u4f5c\u7684\u52a8\u529b\u6d88\u5931\u4e86\u3002\u9ad8\u7ea7\u5ba2\u6237\u7aef\u57286.0\u7248\u672c\u4e2d\u5305\u542b\u5728\u5185\u3002<\/p>\n<p>\u6570\u5e74\u524d\uff0c\u6211\u5f00\u59cb\u4f7f\u7528 Kotlin\uff0c\u5e76\u540c\u65f6\u5c06\u4ee3\u7801\u5e93\u8fc1\u79fb\u5230\u4e86 Elasticsearch \u7684\u6700\u65b0\u7248\u672c\u3002<br \/>\n\u5f53\u65f6 Elastic \u5df2\u7ecf\u53d1\u5e03\u4e86 RestHighLevel \u5ba2\u6237\u7aef\uff0c\u6240\u4ee5\u6211\u8bd5\u7740\u4f7f\u7528\u4e86\u5b83\uff0c\u4f46\u5f88\u5feb\u610f\u8bc6\u5230\u81ea\u5df1\u9519\u8fc7\u4e86\u4e4b\u524d\u6784\u5efa\u7684\u4e00\u4e9b\u529f\u80fd\u3002<br \/>\n\u4f8b\u5982\uff0c\u6211\u66fe\u7ecf\u62e5\u6709\u5904\u7406 Bulk API \u590d\u6742\u6027\u7684 Bulk \u4f1a\u8bdd\uff0c\u4ee5\u53ca\u8fed\u4ee3\u6eda\u52a8\u641c\u7d22\u7ed3\u679c\u7684\u65b9\u4fbf\u65b9\u6cd5\uff0c\u8fd8\u6709\u77e5\u9053\u5982\u4f55\u5e8f\u5217\u5316\u548c\u53cd\u5e8f\u5217\u5316 JSON \u6587\u6863\u7684\u4fbf\u6377\u7d22\u5f15\u5b58\u50a8\u5e93\u7b49\u3002<\/p>\n<p>\u6700\u8fd1\uff0c\u6211\u66fe\u7ecf\u5728\u53e6\u4e00\u4e2a\u9879\u76ee\uff08\u9488\u5bf9Elasticsearch 5.x\uff09\u4e2d\u91cd\u65b0\u6784\u5efa\u4e86\u4e00\u4e2a\u7528\u4e8eJava\u7684\u7b80\u5355HTTP\u5ba2\u6237\u7aef\uff0c\u6240\u4ee5\u611f\u89c9\u53c8\u505a\u4e86\u7c7b\u4f3c\u7684\u4e1c\u897f\u3002<\/p>\n<p>\u6240\u4ee5\u57282018\u5e74\uff0c\u6211\u610f\u8bc6\u5230\u6211\u5e0c\u671b\u518d\u6b21\u4e3aKotlin\u6784\u5efa\u8fd9\u4e2a\u529f\u80fd\uff0c\u5e76\u51b3\u5b9a\u8fd9\u6b21\u505a\u5f97\u66f4\u597d\uff0c\u5e76\u4ece\u7b2c\u4e00\u5929\u5f00\u59cb\u5c06\u5176\u53d8\u4e3a\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee\u3002<br \/>\n\u5f53\u65f6\uff0c\u7531\u4e8e\u540c\u65f6\u5173\u95ed\u7684\u521b\u4e1a\u516c\u53f8\uff0c\u6240\u4ee5\u6211\u6ca1\u6709\u7acb\u5373\u53ef\u4ee5\u4f7f\u7528\u7684\u9879\u76ee\u3002<br \/>\n\u7136\u800c\uff0c\u5f53\u65f6\u6211\u4f5c\u4e3aElasticsearch\u4e13\u5bb6\u4f5c\u4e3a\u81ea\u7531\u804c\u4e1a\u8005\u6d3b\u52a8\uff0c\u6240\u4ee5\u6211\u6709\u8db3\u591f\u7684\u7a7a\u95f2\u65f6\u95f4\u6765\u542f\u52a8\u9879\u76ee\u3002<br \/>\n\u5728\u63a5\u4e0b\u6765\u7684\u51e0\u5e74\u91cc\uff0c\u6211\u7ee7\u7eed\u4e3a\u5ba2\u6237\u5de5\u4f5c\uff0c\u5e76\u6700\u7ec8\u5728\u4e00\u4e9b\u9879\u76ee\u4e2d\u4f7f\u7528\u4e86\u5b83\u3002<br \/>\n\u6bcf\u6b21\u4f7f\u7528\u65f6\uff0c\u6211\u90fd\u60f3\u8981\u6dfb\u52a0\u66f4\u591a\u529f\u80fd\uff0c\u4f7f\u5176\u66f4\u65b9\u4fbf\uff0c\u4e5f\u5e0c\u671b\u627e\u5230\u6539\u8fdb\u4ee3\u7801\u57fa\u7840\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u51fa\u4e8e\u5bf9\u9519\u8bef\u7684\u611f\u89c9\u4ee5\u53ca\u5bf9\u9700\u8981\u652f\u6301API\u7684\u5de5\u4f5c\u7684\u9700\u6c42\uff0c\u6211\u6709\u610f\u63a8\u8fdf\u4e861.0\u7248\u672c\u7684\u53d1\u5e03\uff0c\u5e76\u81f4\u529b\u4e8e\u505a\u51fa\u627f\u8bfa\uff0c\u4ee5\u907f\u514d\u81ea\u5df1\u9677\u5165\u5931\u8d25\u4e2d\u3002<br \/>\n\u5728\u67d0\u4e00\u70b9\u4e0a\uff0c\u6211\u5f00\u59cb\u601d\u8003\u8981\u8fbe\u52301.0\u7248\u672c\u9700\u8981\u4ec0\u4e48\uff0c\u5e76\u4e00\u4e00\u4fee\u590d\u8fd9\u4e9b\u95ee\u9898\u3002<\/p>\n<p>\u6211\u5728\u6211\u7684\u6e05\u5355\u4e2d\u7684\u4e3b\u8981\u9879\u76ee\u662f\u521b\u5efa\u5305\u542b\u5b9e\u9645\u8fd0\u884c\u793a\u4f8b\u7684\u6587\u6863\u3002<\/p>\n<p>\u8fd9\u672c\u624b\u518c\u662f\u52aa\u529b\u7684\u6210\u679c\u3002<\/p>\n<p>\u6301\u7eed\u4e0b\u53bb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8eElasticsearch\u5728\u540e\u7aef\u64cd\u4f5c\u65b9\u9762\u7684Kotlin\u7248\u672c\u5e93\u975e\u5e38\u4f18\u79c0\uff0c\u6211\u6b63\u5728\u8fdb\u884c\u5176\u529f\u80fd\u9a8c\u8bc1\uff0c\u5e76\u540c\u65f6\u5c06\u5176\u624b\u518c [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41344","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elasticsearch &gt; Kotlin &gt; es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-\u624b\u518c\uff08\u610f\u8bd1\uff091-\u5e8f\u8a00\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elasticsearch &gt; Kotlin &gt; es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00\" \/>\n<meta property=\"og:description\" content=\"\u7531\u4e8eElasticsearch\u5728\u540e\u7aef\u64cd\u4f5c\u65b9\u9762\u7684Kotlin\u7248\u672c\u5e93\u975e\u5e38\u4f18\u79c0\uff0c\u6211\u6b63\u5728\u8fdb\u884c\u5176\u529f\u80fd\u9a8c\u8bc1\uff0c\u5e76\u540c\u65f6\u5c06\u5176\u624b\u518c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-\u624b\u518c\uff08\u610f\u8bd1\uff091-\u5e8f\u8a00\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-25T07:38:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T02:55:30+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/\",\"name\":\"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-01-25T07:38:19+00:00\",\"dateModified\":\"2024-01-15T02:55:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 &#8211; \u5e8f\u8a00\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-\u624b\u518c\uff08\u610f\u8bd1\uff091-\u5e8f\u8a00\/","og_locale":"zh_CN","og_type":"article","og_title":"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00","og_description":"\u7531\u4e8eElasticsearch\u5728\u540e\u7aef\u64cd\u4f5c\u65b9\u9762\u7684Kotlin\u7248\u672c\u5e93\u975e\u5e38\u4f18\u79c0\uff0c\u6211\u6b63\u5728\u8fdb\u884c\u5176\u529f\u80fd\u9a8c\u8bc1\uff0c\u5e76\u540c\u65f6\u5c06\u5176\u624b\u518c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-\u624b\u518c\uff08\u610f\u8bd1\uff091-\u5e8f\u8a00\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-25T07:38:19+00:00","article_modified_time":"2024-01-15T02:55:30+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/","name":"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 - \u5e8f\u8a00 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-01-25T07:38:19+00:00","dateModified":"2024-01-15T02:55:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Elasticsearch > Kotlin > es-kotlin-client \u624b\u518c\uff08\u610f\u8bd1\uff091 &#8211; \u5e8f\u8a00"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch-kotlin-es-kotlin-client-%e6%89%8b%e5%86%8c%ef%bc%88%e6%84%8f%e8%af%91%ef%bc%891-%e5%ba%8f%e8%a8%80\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41344"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41344\/revisions"}],"predecessor-version":[{"id":58815,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41344\/revisions\/58815"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}