Elasticsearch5.0 Getting Started

Elasticsearch is a highly scalable open-source full-text search and analytics engine.

Elasticsearch 是一个高拓展性、开源的全文搜索和分析引擎。

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:

这里有一些简单的Elasticsearch使用的用例:

<!--[if !supportLists]-->·         <!--[endif]-->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.
你运行了一个允许你的客户来搜索你所卖的产品的网站。在这种情况下,你可以用Elasticsearch来存储你的全部产品类别和库存和为他们提供搜索和自动完成的建议。

<!--[if !supportLists]-->·         <!--[endif]-->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. Once the data is in Elasticsearch, you can run searches and aggregations to mine any information that is of interest to you.
你想采集日志或者事务数据,并且你想分析挖掘这些数据,来寻找趋势、统计、总结和异常。这种情况下,你可以使用Logstash (Elasticsearch/Logstash/Kibana的一部分)来采集、合计并解析你的数据,然后将数据喂给Elasticsearch。一旦数据在Elasticsearch里了,你可以运行搜索和聚合来挖掘一些你关心的信息了。

<!--[if !supportLists]-->·         <!--[endif]-->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.
你运行了一个价格预警平台,它允许价格精明的顾客指定一个规则,如“我有兴趣购买一个特定的电子产品,我想在接下来几个月内当这个小工具的价格降到低于$X时通知我”。这种情况下,你可以抓取供应商的价格,把他们存入Elasticsearch,使用反向搜索(过滤)的能力。来匹配价格变动,一旦发现最终将预警发送给客户。

  • 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. Additionally, you can use the Elasticsearch aggregations functionality to perform complex business intelligence queries against your data.
    你有分析商业智能的需求,并希望快速调查、分析、可视化,并提问关于大量数据(想象是百万或者十亿级别的条数)的专业问题。这种情况下你可以使用Elasticsearch来存储你的数据,然后用Kibana(的Elasticsearch / LogStash / Kibana堆栈的一部分)建立自定义的仪表板来形象的展现对你重要的数据此外,您可以使用Elasticsearch的聚合功能来执行复杂的商业智能与数据查询。

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.

这个教程其他的内容,我将指引你我将引导你通过Elasticsearch的启动和运行过程,讲解一点它的内在,和演示像索引、搜索、修改数据的基本操作。

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.

在这个教程的最后,你应该有了一个Elasticsearch是什么的想法,它是如何工作的,并希望能激发去想你能如何使用它,或者构建复杂的搜索应用和从你的数据上挖掘情报。

猜你喜欢

转载自l810102251.iteye.com/blog/2335885
今日推荐