Elasticsearch 1.4.2 原生教程之一 getting started

Elasticsearch 是一个高度可扩展的开放源码的全文搜索和分析引擎。它允许您存储、 搜索和分析数据的大容量快速、 近乎实时的速度。它通为需要复杂的搜索功能和要求的应用程序提供用作底层的引擎/技术


下面是几个示例用例 Elasticsearch 可以用来:


  • 您可以再您运行的电子商务网站上为客户提供搜索产品的功能。在这种情况下,您可以使用Elasticsearch 来存储您的整个产品记录和库存并提供给搜索和自动建议搜索功能。


  • 您想要收集日、事务数据或者你想要分析和挖掘这个数据来寻找趋势、 统计。在这种情况下,可以使用 Logstash (Elasticsearch/Logstash/Kibana 堆栈的一部分) 来收集、 合计并解析您的数据,并就此数据送入 Elasticsearch。一旦数据是在 Elasticsearch 中,您可以运行搜索和聚合来挖掘是您感兴趣的任何信息。


  • 您运行一个报警平台,允许对价格敏感的客户指定一个规则像"我对购买特定的电子小玩意感兴趣,我想如果小工具一个月内在全网任何购物网站中低于 ¥X 元,请通知我"。在这种情况下可以全网爬取价格信息、 将他们推入 Elasticsearch 并使用其反向搜索 (过滤器) 能力匹配对客户查询价格走势,一旦价格走势符合了客户的配置预期,则对客户进行提醒。


  • 你有分析-商情需要,想要针对大量数据 (认为数百万或数十亿条记录)迅速进行调查、 分析、 可视化和特设提问。在这种情况下,您可以使用 Elasticsearch 来存储您的数据,然后使用 Kibana (Elasticsearch/Logstash/Kibana 的一部分) 来构建自定义的仪表板,可视化数据,以及另外一些自定义的展示区。此外,可以使用 Elasticsearch 聚合功能来对您的数据执行复杂的业务智能查询。


对于本教程的其余部分,我将引导你上手 Elasticsearch 并运行,了解Elasticsearch内部的原理,并执行基本操作 (如索引、 搜索和修改您的数据)。在本教程结束时,你应该对 Elasticsearch 有一个比较好的了解,它如何工作,并希望能够启发你让您可以使用它打造先进的搜索应用程序或者从你的数据中找到价值点。

 

以下是英文原文:


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:

  • 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.

  • 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.

  • 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.

  • 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.

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.

 

 

转载于:https://my.oschina.net/u/1991378/blog/375857

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值