Elasticsearch GettingStarted(入门指南) 6.6
原文连接:
Getting Started | Elasticsearch Reference [6.6] | ElasticElasticsearch 是一个高度可扩展且开源的全文检索和分析引擎。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.
下面是Elasticsearch 一些简单的使用案例 : Here are a few sample use-cases that Elasticsearch could be used for:
- 您运行一个可以让您顾客来搜索您所售产品的在线的网络商店。You run an online web store where you allow your customers to search for products that you sell. 在这种情况下,您可以使用 Elasticsearch 来存储您的整个产品的目录和库存,并且为他们提供搜索和自动完成的建议。In this case, you can use Elasticsearch to store your entire product catalog and inventory and provide search and autocomplete suggestions for them.
- 您想要去收集日志或交易数据,并且您还想要去分析和挖掘这些数据以来找出趋势,统计,概述,或者异常现。 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. 在这种情况下,您可以使用 Logstash(Elasticsearch/Logstash/Kibana 技术栈中的一部分)来收集,聚合,以及解析数据,然后让 Logstash 发送这些数据到 Elasticsearch。 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.当这些数据存在于 Elasticsearch 中,那么您就可以执行搜索和聚合以挖掘出任何您感兴趣的信息。 Once the data is in Elasticsearch, you can run searches and aggregations to mine any information that is of interest to you.
- 您运行一个价格警告平台,它允许客户指定的价格,如“我感兴趣的是购买指定的电子产品,如果任何供应商该产品的价格在未来一个月内低于 $X 这个价钱的话我应该被通知到”。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".在这种情况下,您可以收集供应商的价格,推送它们到 Elasticsearch 中去,然后使用 reverse-search(Percolator)(反向搜索(过滤器))功能以匹配客户查询价格的变动,后如果发现匹配成功就给客户发出通知。 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.
- 您必须分析/商业智能的需求,并希望快速的研究,分析,可视化,并且需要 ad-hoc(即席查询)海量数据(像数百万或者数十亿条记录)上的问题。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).在这种情况下,您可以使用 Elasticsearch 来存储数据,然后使用 Kibana(Elasticsearch/Logstash/Kibana 技术栈中的一部分)以建立一个能够可视化的对您很重要的数据方面的定制的 dashboards(面板)。 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. 此外,您还可以使用 Elasticsearch 的聚合功能对您的数据执行复杂的商业智能查询。Additionally, you can use the Elasticsearch aggregations functionality to perform complex business intelligence queries against your data.
对于本教程的其余部分,我将引导您完成Elasticsearch的启动和运行的过程,同时了解其原理,并执行像indexing(索引),searching(查询)和modifing(修改)数据的基础操作。
For the rest of this tutorial, you will be guided 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.
感谢:
Getting Started(入门指南)相关文章