es-1

来源:互联网 发布:关于域名说法正确的是 编辑:程序博客网 时间:2024/05/17 03:16

Elasticsearch is a highly scalable(可升级) open-source full-text search and analytics engine.
It allows you to store, search, and analyze big volumes of data quickly and in near real time.
It is generally used as the underlying engine/technology that
powers applications that have complex search features and requirements.

Here are a few sample use-cases that Elasticsearch could be used for:

☆ 1

You run an 【online web store】 where you allow your customers to search for products that you sell.

In this case,
you can use Elasticsearch to store your entire product catalog and inventory(存货清单) and
provide search and autocomplete suggestions for them.

☆ 2

You want to collect log or transaction data and
you want to analyze and mine(挖掘) this data to
look for trends[趋势], statistics[统计], summarizations[总结], or anomalies[异常].

In this case,
you can use Logstash (part of the Elasticsearch/Logstash/Kibana stack)
to collect, aggregate[聚合], and parse your data,
and then have Logstash feed this data into Elasticsearch.

Logstash是一款强大的数据处理工具,
它可以实现数据传输,格式处理,格式化输出,
还有强大的插件功能,常用于日志处理.

☆ 3

Once the data is in Elasticsearch,
you can run searches and aggregations to mine any information that is of interest to you.
You run a price alerting platform[价格预警平台] which
allows price-savvy[价格精明] customers to specify a rule like
“I am interested in buying a specific electronic gadget[特定的电子装置] and
I want to be notified if the price of gadget[小装置] falls below $X from any vendor[供应商] within the next month”.

In this case
you can scrape[抓] vendor prices, push them into Elasticsearch and use its reverse-search[反向搜索] (Percolator[过滤器]) capability[能力] to match price movements[变动] against customer queries and
eventually push the alerts out to the customer once matches are found.

☆ 4

You have analytics[分析]/business-intelligence[商务智能] needs and
want to quickly investigate[调查], analyze, visualize[可视化], and
ask ad-hoc questions[特设的问题] on a lot of data
(think millions or billions of records).

In this case, you can use Elasticsearch to store your data and
then use Kibana (part of the Elasticsearch/Logstash/Kibana stack) to build custom dashboards[仪表板] that can visualize aspects[方面] of your data that are important to you.

Kibana是一个开源的分析与可视化平台,
设计出来用于和Elasticsearch一起使用的

Additionally, you can use the Elasticsearch
aggregations functionality[聚合函数] to perform complex business
intelligence queries against your data.

For the rest of this tutorial[教程],
I will guide you through the process of getting Elasticsearch up and running,
taking a peek[窥视] inside it,
and performing basic operations like
indexing, searching, and modifying your data.

At the end of this tutorial,
you should have a good idea of what Elasticsearch is,
how it works,
and hopefully be inspired to see how you can use it to
either build sophisticated[精致的] search applications or
to mine intelligence from your data.

原创粉丝点击