-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.py
14 lines (10 loc) · 70.2 KB
/
sample.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from html2md import Html2Markdown
import html5lib
s = '<div class="rich_media_content " id="js_content">\n \n\n \n\n \n \n <section class="xmteditor" style="display:none;" data-tools="新媒体管家" data-label="powered by xmt.cn"></section><p><span style="letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 14px;">\xa0\xa0\xa0\xa0最近几年出现的云计算为组织和用户带来了福音。组织对客户的了解达到前所未有的透彻,并能够采用个性化通信锁定客户。用户几乎可以随时随地获取其数据,使其更加易于访问和使用。为了存储所有这些数据,大型数据中心遍布全世界。但是,大数据同样也意味着大挑战。</span></p><p><span style="letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 14px;"><br></span></p><h2 style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong>企业级搜索</strong></span></h2><p style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">下面是企业级搜索面临的基本挑战:拥有很多数据源的大型组织如何能够通过一个界面向内部和外部用户提供搜索所有公共公司数据源的功能?这个单一界面可能是一个 API、公司网站或甚至是一个在后台实现了自动完成功能的简单文本框。无论公司选择哪种界面,它必须能够让用户搜索其整个数据领域,这可能包括结构化和非结构化数据库、不同格式的 Intranet 文档、其他 API 和其他类型的数据源。</span></p><p style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">由于搜索多个数据集相当复杂,因此公认的企业级搜索解决方案只有几个 — 且标准太高。企业级搜索解决方案必须包括以下功能:</span></p><ul class=" list-paddingleft-2" style=""><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">内容感知:知道特定类型的数据可能位于的位置。</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">实时索引:保持所有数据都有索引。</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">内容处理:使不同的数据源都可以访问。</span></p></li></ul><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">搜索是现代软件必备的一项基础功能,而 Elasticsearch 就是一款功能强大的</span><strong style="letter-spacing: 0.544px;white-space: normal;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">开源分布式搜索与数据分析引擎</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span><span style="font-size: 14px;background-color: rgb(255, 255, 255);letter-spacing: 0.544px;">这个基于 Java 的服务器构建在 Apache Lucene (lucene.apache.org) 之上,其通过 JSON 支持和 REST Web 接口提供对多个数据源的可伸缩全文搜索,并具有高可用性、冲突管理和实时分析。</span></span><span style="letter-spacing: 0.544px;font-size: 14px;"><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch\xa0可以从海量数据中快速找到相关信息,在同领域内几乎没有竞争对手——近两年 DBRanking 的数据库评测中,ES 在搜索引擎领域</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">始终位列第一</span></strong><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span><span style="font-size: 14px;letter-spacing: 1px;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">当你在 GitHub 上搜索时,Elasticsearch 可以实现代码级的搜索与高亮显示 ;当你在网上购物时,ES 可为你推荐喜欢的商品;当你下班打车回家时,ES 可以通过定位附近的乘客和司机,帮助平台优化调度。</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch 还被广泛运用于</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">大数据近实时分析</span></strong><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,包括</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">日志分析、指标监控、信息安全</span></strong><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">等多个领域。</span></span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">它可以探索海量结构化、非结构化数据,按需创建可视化报表,对监控数据设置报警阈值,甚至通过使用机器学习,做到自动识别异常状况。</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;white-space: normal;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">作为</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">目前最流行的开源搜索引擎</span></strong><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,ES 在全球的下载量已超过 3.5 亿次,腾讯、滴滴、今日头条、饿了么、360 安全、小米,vivo 等国内诸多知名公司都在使用 Elasticsearch。</span></span></p><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">从较高层面来说,Elasticsearch 存储数据的方式非常简单。服务器内结构的最顶层元素称为索引,多个索引可以位于同一数据存储中。索引本身只是文档(一个或多个)容器,每个文档是一个或多个字段的集合(没有定义的结构)。每个索引都可以包含按称为类型的单位聚合的数据,用于表示特定索引内数据的逻辑组。</span></p><p style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">在将 Elasticsearch 视为类似来自关系数据库领域的表时,这可能很有用。表的行和列与索引的文档和字段之间存在着相同的关联,其中文档对应行,字段对应列。但是,通过 Elasticsearch,没有固定的数据结构或数据库架构。</span></p><p><span style="letter-spacing: 0.544px;background-color: rgb(255, 255, 255);font-size: 14px;"><br></span></p><p style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">如前所述,开发人员可以通过 REST Web 接口与 Elasticsearch 服务器通信。这意味着,他们只需通过从浏览器或任何其他类型的 Web 客户端发送 REST Web 请求即可查询索引、类型、数据或其他系统信息。以下是一些 GET 请求示例:</span></p><ul class=" list-paddingleft-2" style=""><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">查询所有索引:<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">http://localhost:9200/_cat/indices/?v</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">查询索引元数据:<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">http://localhost:9200/clients/_stats</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">查询所有索引数据:<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">http://localhost:9200/clients/_search?q=*:*</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">搜索索引内的特定字段值:<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">http://localhost:9200/clients/_search?q=field:value</span></p></li><li><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;">获取索引映射类型内的所有数据:<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">http://localhost:9200/clients/orders/_search?q=*:*</span></p></li></ul><p data-source-line="208" style=\'margin-bottom: 16px;max-width: 100%;box-sizing: border-box;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(36, 41, 46);font-family: -apple-system, BlinkMacSystemFont, 微软雅黑, "PingFang SC", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", SimSun, 宋体, Heiti, 黑体, sans-serif;font-size: 14px;overflow-wrap: break-word !important;\'><br></p><p data-source-line="208" style=\'margin-bottom: 16px;max-width: 100%;box-sizing: border-box;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);color: rgb(36, 41, 46);font-family: -apple-system, BlinkMacSystemFont, 微软雅黑, "PingFang SC", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", SimSun, 宋体, Heiti, 黑体, sans-serif;font-size: 14px;overflow-wrap: break-word !important;\'><span style="font-size: 14px;">ES的.NET客户端,Elasticsearch .Net - Low level client[5.x],\xa0<span style="font-size: 14px;letter-spacing: 0.544px;">通过引入对应的版本的客户端,便可通过C#操作ES<span style=\'font-size: 14px;color: rgb(36, 41, 46);font-family: -apple-system, BlinkMacSystemFont, 微软雅黑, "PingFang SC", Helvetica, Arial, "Hiragino Sans GB", "Microsoft YaHei", SimSun, 宋体, Heiti, 黑体, sans-serif;letter-spacing: 0.544px;background-color: rgb(255, 255, 255);\'>。</span>参考(https://www.elastic.co/guide/en/elasticsearch/client/net-api/5.x/elasticsearch-net.html)</span></span><span style=\'letter-spacing: 1px;color: rgb(51, 51, 51);font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;\'>\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><h1 class="" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"></h1><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 0.5px;color: rgb(0, 0, 0);font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch 有什么特点?</strong></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0非常容易上手</strong></span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,具有开箱即用的特性,你可以在极短的时间内设置好开发环境,然后快速上手使用,继而在成百上千台服务器上</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">实现 PB 级的数据处理</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">虽然上手快,但要做到</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">深入理解并高效使用,可就没那么简单了</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,比如:</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">1. 为什么我的数据查不到,明明是有的啊!</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">2. 什么鬼?为什么这几条数据出现在搜索结果的前几位?</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">3. 生产环境我需要多少台机器,索引的分片数怎么样设置才是合理的?</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">4. 应该关注哪些指标,才能保证集群健康高效地运行?</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">5. 对于日志型应用,如何设置 Hot & Warm Architecture 节约成本,怎样管理和优化基于时间序列的索引数据,才能提高集群的整体性能?</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;color: rgb(136, 136, 136);letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">4. 为什么我的集群脑裂了?数据损坏后,怎样才能恢复?</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">其实,想要掌握 Elasticsearch,除了要理解</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">其分布式架构的原理</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">外,还要了解一些</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">信息检索领域的知识和相关技巧</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">分享给你一张\xa0</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch 核心知识图谱</strong></span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,只有对每一个知识点仔细梳理并深入理解,才能解决工作中的实际问题。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img class="rich_pages img_loading" data-ratio="1.09296875" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_png/HXiabut2oicnMnhzFWCcl8Y6ZRqcvS8u6An83jgjOS0ickHUXr0YnfVL2pCZE1pcwxzuczQTTaZzgOLgyaxYeziaeA/640?wx_fmt=png" data-type="png" data-w="1280" style="box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px; box-sizing: border-box !important; overflow-wrap: break-word !important; visibility: visible !important; width: 661px !important; height: 722.452px !important;" _width="677px" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0 \xa0 \xa0 \xa0<br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">这张图谱出自阮一鸣,我之前听过他在 Elastic 中国开发者大会的分享,讲得非常不错。</span><span style="font-size: 14px;"><span style="max-width: 100%;letter-spacing: 0.5px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0最近,得知他跟极客时间合作,推出了一门视频课</span><span style="max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;">《Elasticsearch 核心技术与实战》,</strong></span></span><strong>我</strong><span style="font-size: 14px;"><span style="max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span data-shimo-docs=\'[[20,"文章中所有"],[20,"标黄内容,编辑好后需要删除。","1:\\"%23ffd900\\""],[20,"\\n\\n"],[20,"标题:","0:\\"%23000000\\"|8:1"],[20,"( 标题最好自己想,反正我是不想跟别人用一样的🙂 )\\n关于 Elasticsearch 的使用,看这一篇就够了!\\n别再说你不会 Elasticsearch 了,都为你整理好了!\\n2019 年最新 Elasticsearch 7.1 版本使用教程\\n终于有人把 Elasticsearch 原理讲透了!\\n掌握它才说明你真正懂 Elasticsearch!\\n查询亿级数据毫秒级返回!Elasticsearch 是如何做到的?\\nElasticSearch在数十亿级别数据下,如何提高查询效率?\\n\\n"],[20,"摘要:","0:\\"%23000000\\"|8:1"],[20,"开动大脑 freestyle 吧朋友们!别写「福利」之类一看就是营销的内容就行:)"]]\' style="max-width: 100%;letter-spacing: 0.5px;">有幸提前看到了目录和一部分内容,很想推荐给你。</span></span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">在课程中,他用理论与实践相结合的方式、深入浅出地讲解了 Elasticsearch,只要你坚持学习,就可以掌握 ES 的基本概念和服务搭建,了解其运行机制和常用技巧,并通过上手实战理解 ES 在实际项目中的应用。</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">近几年 ES 非常热门,所以去年 Elastic 公司推出了</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">官方的 Elastic 工程师认证考试</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,需要考生在 3 个小时的线上考试中,动手解决 12 个实际问题,就算有多年工作经验的老手都未必能通过。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">所以,这个认证的</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">含金量还是挺高</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">的,有证跟没证不仅能力水平可能差一个档次,收入也有可能差一个档次。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">阮一鸣说,这门课</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">覆盖了 Elastic 认证考试的全部考点</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,想参加考试的朋友可以将这门课作为参考教材,这也算是</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">「学习技能之外的 bonus」</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">了。</span></span></p><p line="lCKB" class="" style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><h1 class="" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"></h1><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">关于阮一鸣</span></strong></span></p><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">阮一鸣,eBay Pronto 平台技术负责人。Pronto 平台管理了 eBay 内部上百个 Elasticsearch 集群,数据规模超过了 4000 个节点。这些集群在 ebay 的生产环境中,支撑了包括订单搜索,商品推荐,日志管理,风险控制,IT 运维,安全监控等不同领域的服务。</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">作为一名互联网行业的老兵,他从业近 20 年了,在大数据、云计算和性能优化方面积累了丰富的经验。同时,他还是一名连续创业者,创办过手机游戏公司、个性化音乐推荐与分享平台 8box。</span></p><p line="YNK4" class="" style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><h1 class="" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"></h1><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">他是如何讲解 Elasticsearch 的?</span></strong></span></p><p style="max-width: 100%;min-height: 1em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">如果你对 Elasticsearch 有些了解,就会发现 ES 的</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">产品迭代速度非常快</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,很多老的 API 都已经被废弃不再使用,搜索到的参数配置也大多发生了变化。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">市面上的书籍和教程都是基于 5.x 甚至是 2.x 版本。而在课程中,哥们儿使用</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch 最新的 7.1 版本</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">进行教学。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">所有 ES 最新版本的特性</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,在课程里都会有全面和直观地展现,比如:用机器学习进行异常检测;用 Canvas 展示数据;用索引的生命周期管理工具对索引进行优化等等。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">结合目录,我总结了一下,</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">这个课大概分为 5 个部分</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">:</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><em style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">1.</span></strong></span></em><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0初识 Elasticsearch</span></strong></span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">:</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;color: rgb(136, 136, 136);font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">Elasticsearch 核心概念、工作机制与应用场景;本地开发环境搭建;倒排索引的原理与 ES 中 Analysis 的具体细节;Mapping 设置和一些基本的 Search & Aggregation API。</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><em style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: bre...r-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">需要什么基础,能获得什么?</span></strong></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">这门课不仅适合有 ES 使用经验的人,也适合初学者。</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">编程知识和数据库的相关使用经验</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,会对你学习 ES 有一定帮助,但</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">并不是必须的</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">针对</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">开发人员</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,搜索是一项被广泛需要的功能,哥们儿详细地讲解了相关的搜索概念在 Elasticsearch 中是如何对应和具体实现的。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">如果你是一名 ES 的</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">运维人员</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,管理了公司内部的 Elasticsearch 集群:</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(136, 136, 136);box-sizing: border-box !important;overflow-wrap: break-word !important;">上线前的如何进行容量规划,上线后如何保证这些集群在生产环境内稳定高效的运行,如何在凌晨识别出异常信号,及时发出告警,以避免灾难的发生。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">这些问题,他在课程中</span><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">都会给出相关的最佳实践</span></strong></span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">其实,无论是开发还是运维,架构师抑或数据分析师,甚至是产品经理,都应该学一学 Elastic Stack。</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">在大数据时代,近实时的搜索和分析能力,会让你唯快不破,洞见未来。——这句 copy 了阮一鸣,要我说其实就是</span><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">升职加薪走上人生巅峰</span></strong><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">呗,这话够实在吧。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">跟着好好学,结合课程中的练习和实践,相信你一定能学以致用,基于 Elasticsearch 构建出你自己的搜索和数据分析产品。</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">这部分好像写得有点长啊,要我总结就一句:</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(255, 104, 39);box-sizing: border-box !important;overflow-wrap: break-word !important;">放心学,学得会,用得着。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="text-align: center;"><img class="rich_pages img_loading" data-ratio="1.7785829307568437" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_png/gak2lhVxV6I1GEpfj1tnId7VDZGplt4nOoicFia8x0xK05YyRHZpjdDCVxNHYNmWMiaXT3ZTxAZZkaibStzBNKP0BQ/640?wx_fmt=png" data-type="png" data-w="1242" style="width: 677px !important; height: 1204.1px !important;" _width="677px" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">△扫我的海报试读或订阅</span><br></p><p line="xOhn" class="" linespacing="115" style="max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><h1 class="" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);box-sizing: border-box !important;overflow-wrap: break-word !important;"></h1><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">从我这里订阅有什么福利?</span></strong></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">1.\xa0</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(255, 104, 39);box-sizing: border-box !important;overflow-wrap: break-word !important;">早鸟优惠 ¥99</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,原价 ¥129</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">2.\xa0</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(255, 104, 39);box-sizing: border-box !important;overflow-wrap: break-word !important;">订阅专栏</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">后,可以获得阮一鸣亲自整理的高清版</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(255, 104, 39);box-sizing: border-box !important;overflow-wrap: break-word !important;">「Elasticsearch 核心知识图谱」</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">,获取方式:在公众号内回复关键字「</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;color: rgb(255, 104, 39);box-sizing: border-box !important;overflow-wrap: break-word !important;">ES</span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">」。</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">\xa0</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;letter-spacing: 1px;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">说了半天,是时候上目录了,</span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;"><span style="font-size: 14px;max-width: 100%;color: rgb(0, 0, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;"><strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">想要干货</span></strong></span><span style="font-size: 14px;max-width: 100%;letter-spacing: 1px;box-sizing: border-box !important;overflow-wrap: break-word !important;">往下看:</span></span></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.5em;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img class="rich_pages img_loading" data-ratio="6.216" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_jpg/HXiabut2oicnMnhzFWCcl8Y6ZRqcvS8u6AbQ1o61yicFvwN8wHlZAicDhUMGxNuHMiaFcVxKdrA7s0cickR5sCXic1bKA/640?wx_fmt=jpeg" data-type="jpeg" data-w="750" style="box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px; box-sizing: border-box !important; overflow-wrap: break-word !important; visibility: visible !important; width: 661px !important; height: 4108.78px !important;" _width="677px" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img class="rich_pages img_loading" data-ratio="5.441333333333334" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_jpg/HXiabut2oicnMnhzFWCcl8Y6ZRqcvS8u6AxiaGa2Pg8QWEibqWedAm1nb9wX6w8mpJwL70LZfaIicWgPs0nZnia33h2g/640?wx_fmt=jpeg" data-type="jpeg" data-w="750" style="box-shadow: rgb(170, 170, 170) 0em 0em 1em 0px; box-sizing: border-box !important; overflow-wrap: break-word !important; visibility: visible !important; width: 661px !important; height: 3596.72px !important;" _width="677px" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></p><p style="margin-right: 8px;margin-left: 8px;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"></p><p line="VRdC" class="" style="margin-top: 0pt;margin-bottom: 0pt;max-width: 100%;min-height: 1em;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);line-height: 1.7;font-size: 11pt;color: rgb(73, 73, 73);box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;">👇点击<strong style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span class="" line-inline="Wj4o" style="font-size: 14px;max-width: 100%;color: rgb(255, 120, 0);box-sizing: border-box !important;overflow-wrap: break-word !important;">「阅读原文」</span></strong>免费试看:</span></p><pre style="max-width: 677px;box-sizing: border-box;overflow-wrap: break-word;font-variant-numeric: normal;font-variant-east-asian: normal;background-color: rgb(255, 255, 255);letter-spacing: 0.54px;"><hr style="max-width: 677px;box-sizing: border-box;overflow-wrap: break-word;"><p style="max-width: 677px;box-sizing: border-box;overflow-wrap: break-word;min-height: 17px;"><span style="max-width: 100%;box-sizing: border-box;overflow-wrap: break-word;font-size: 14px;">.NET社区新闻,深度好文,欢迎访问公众号文章汇总\xa0http://www.csharpkit.com\xa0<br style="max-width: 100%;box-sizing: border-box;overflow-wrap: break-word;"></span><img class=" img_loading" data-backh="564" data-backw="677" data-before-oversubscription-url="https://mmbiz.qpic.cn/mmbiz_jpg/gak2lhVxV6Ll3Rjypick8DKRBSUpPIgFyCxeb5deosVPTBP2DJO7FENibZQVoweibm12hN3icfjxz4TVrPoZCpUVWA/640?wx_fmt=jpeg" data-copyright="0" data-ratio="0.8333333333333334" data-s="300,640" data-src="https://mmbiz.qpic.cn/mmbiz_jpg/gak2lhVxV6Ll3Rjypick8DKRBSUpPIgFyCxeb5deosVPTBP2DJO7FENibZQVoweibm12hN3icfjxz4TVrPoZCpUVWA/640?wx_fmt=jpeg" data-type="jpeg" data-w="600" style=\'max-width: 677px; box-sizing: border-box; overflow-wrap: break-word; letter-spacing: 0.54px; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; visibility: visible !important; width: 556px !important; height: 463.333px !important;\' width="auto" _width="556px" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></p></pre>\n </div>'
h = html5lib.HTMLParser(tree=html5lib.getTreeBuilder("dom"))
s = h.parse(s).toxml()
parser = Html2Markdown()
parser.feed(s)
parser.close()
a = parser.output
print(a)