一、了解ES
1.1 什么是 ElasticSearch
1、ElasticSearch 是一款非常强大的开源搜索引擎,可以帮助我们从海量的数据中快速的找到需要的内容。
2、ElasticSearch 结合 Kibana、Logstash、Beats、也就是Elastic Stach(ELK)。被广泛应用在日志数据分析、实时监控等领域。
3、ElasticSearch 是Elastic Stack 的核心,负责存储、搜索、分析数据。
1.2 ElasticSearch 的发展
1、Lucene 是一个 Java 语言的搜索引擎类库,是 Apache 公司的顶级项目,由 DougCutting 于1999年研发。
官网地址:https://lucene.apache.org
2、Lucene 的优势:易扩展、高性能(基于倒排索引)
3、Lucene 的缺点:只限于 Java 语言使用、学习曲线陡峭、不支持水平扩