es学习笔记1-es概念

本文涉及的产品
检索分析服务 Elasticsearch 版,2核4GB开发者规格 1个月
简介: es学习笔记1-es概念

es学习笔记1-es概念

书:《Learning Elastic Stack 7.0 : distributed search, analytics, and visualization using Elasticsearch, Logstash, Beats, and Kibana

简介

为了应付大量数据,且传统的关系型数据库无法存储。尤其是全是搜索和分析的应用和BI(business intelligence )应用。

es生态组件有:Kibana, Logstash, Beats, X-Pack, and Elasticsearch.其中Elasticsearch是es的心脏,kibina是窗口,logstash和beats是数据导入的帮手。X-pack提供强大的功能,包括监控、告警、安全、图形。

What is Elasticsearch

Elasticsearch is a real-time, distributed search and analytics engine that is horizontally scalable and capable of solving a wide variety of use cases. At the heart of the Elastic Stack, it centrally stores your data so you can discover the expected and uncover the unexpected.

es是一个实时的、分布式搜索、计算引擎。可水平扩展,解决大量案例。

非严格的数据结构

Elasticsearch does not impose a strict structure on your data; you can store any JSON documents.JSON documents are first-class citizens in Elasticsearch as opposed to rows and columns in a relational database. A document is roughly equivalent to a record in a relational database table.

es不会严格要求你数据的结构,可以存储任何json文档。 json文档是es的头等公民,而不是关系型数据库的的行、列。

Often the nature of data is very dynamic, requiring support for new or dynamic columns. JSON documents naturally support this type of data.

自然的数据(结构)往往是动态的。json文档自然的支持这种数据。

搜索能力

The core strength of Elasticsearch lies in its text-processing capabilities. Elasticsearch is great at searching, especially full-text searches.

核心能力在于文本处理能力。es擅长搜索,尤其是全文搜索。

分析

Apart from searching, the second most important functionalstrength of Elasticsearch is analytics. Yes, what was originally known as just a full-text search engine is now used as an analytics engine in a variety of use cases. Many organizations are running analytics solutions powered by Elasticsearch in production.

查询能力也被当作是分析引擎,在很多案例中。

丰富的客户端支持和rest api

超过20种语言的客户端,以及rest api。

易于操作、方便扩展

Horizontal scalability is the ability to scale a system horizontally by starting up multiple instances of the same type rather than making one instance more and more powerful. Vertical scaling is about upgrading a single instance by adding more processing power (by increasing the number of CPUs or CPU cores), memory, or storage capacity. There is a practical limit to how much a system can be scaled vertically due to cost and other factors, such as the availability of higher-end hardware.

水平扩展和垂直扩展都是支持的,传统的数据库往往只能垂直扩展(加CPU、内存、磁盘等配置)。

近乎实时查询

Typically, data is available for queries within a second after being indexed (saved). Not all big data storage systemsare real-time capable. Elasticsearch allows you to index thousands to hundreds of thousands of documents per second and makes them available for searching almost immediately.

ES一秒建立索引上千到数十万的文本,并可立即搜索。

优化的飞快

Elasticsearch uses Apache Lucene as its underlying technology. By default, Elasticsearch indexes all the fields of your documents. This is extremely invaluable as you can query or search by any field in your records. You will never be in a situation in which you think, If only I had chosen tocreate an index on this field. Elasticsearch contributors have leveraged Apache Lucene to its best advantage, and thereare other optimizations that make it lightning-fast

ES底层技术是 apache lucene。默认将文档中所有属性建立索引。

单词记录

  • emergence 出现
  • massive 大量的
  • technology 技术
  • ecosystem 生态系统
  • visualization 形象化(图形化)
  • production-ready 生产就绪
  • tremendous 巨大的
  • underlying technology 底层技术
  • advantage 优点
相关实践学习
使用阿里云Elasticsearch体验信息检索加速
通过创建登录阿里云Elasticsearch集群,使用DataWorks将MySQL数据同步至Elasticsearch,体验多条件检索效果,简单展示数据同步和信息检索加速的过程和操作。
ElasticSearch 入门精讲
ElasticSearch是一个开源的、基于Lucene的、分布式、高扩展、高实时的搜索与数据分析引擎。根据DB-Engines的排名显示,Elasticsearch是最受欢迎的企业搜索引擎,其次是Apache Solr(也是基于Lucene)。 ElasticSearch的实现原理主要分为以下几个步骤: 用户将数据提交到Elastic Search 数据库中 通过分词控制器去将对应的语句分词,将其权重和分词结果一并存入数据 当用户搜索数据时候,再根据权重将结果排名、打分 将返回结果呈现给用户 Elasticsearch可以用于搜索各种文档。它提供可扩展的搜索,具有接近实时的搜索,并支持多租户。
目录
相关文章
|
6月前
|
JavaScript
es5和es6的区别
es5和es6的区别
55 0
|
6月前
|
存储 JavaScript 前端开发
|
2月前
|
JavaScript 前端开发
ES6学习(6)
ES6学习(6)
|
2月前
|
网络架构
ES6学习(5)
ES6学习(5)
|
6月前
|
前端开发 JavaScript API
ES6和ES5的区别
ES6和ES5的区别
47 0
|
6月前
|
Java
es 学习笔记
es 学习笔记
40 1
|
机器学习/深度学习 边缘计算 运维
es学习笔记2-es组件
es学习笔记2-es组件
175 0
|
前端开发
ES5和ES6区别
ES5和ES6区别
|
存储 JSON 自然语言处理
ES基础
ES基础
486 0