1. 程式人生 > >Elasticsearch使用場景官網翻譯: getting started

Elasticsearch使用場景官網翻譯: 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.

Elasticsearch通常的應用場景:有複雜搜尋特徵和要求的應用程式

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

下面是Elasticsearch的一些應用場景:

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儲存所有商品目錄,存貨清單。
併為顧客提供搜尋和自動完成的功能。

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 Elasticsearch/Logstash/Kibana stack)to collect, aggregate, and parse your data,
and then ahve logstash feed this dta 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的一個元件)在Elasticsearch進行收集,聚合並轉換你的資料,然後Logstash把這些資料傳給Elasticsearch。一旦資料進入了Elasticsearch,你可以對所有你感興趣的資訊進行搜尋、聚合、分析

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 bwlow $X from any vendor within the next month". In this case 
you can scrape vendor prices, push then 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.

你運營一家商品報價平臺它允許價格敏感的顧客來指定規則,如:”我對一些特定的電子配件很感興趣,如果下個月任何一個賣家的價格落到xxx美元以下請提醒我”。
這種情況下你可以選擇商品當前的價格,把商品的資料抽取到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
functionally to perform complex business Intelligence queries againest your data

你有資料分析或商務智慧的需求,想要對海量的資料進行快速進行調研、分析、視覺化、並一對一問答。這種情況下,你可以使用Elasticsearch來儲存你的資料並使用Kibana
(Elasticsearch相關元件的一種)來構建一個視覺化的展示(如果它對你很重要的話,或者說你想的話),就像傳統的儀表盤一樣。此外,你還可以使用Elasticsearch資料聚合的功能
根據你的資料進行復雜的商務智慧方面的演示

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. 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 inspired to see 
how you can use it to either build sophisticated search applications or to mine intelligence
from your data.

教程剩下的部分,由以下部分組成:獲取Elasticsearch,執行Elasticsearch,對Elasticsearch進行一些基本的操作,如:索引、檢索、修改你的資料
教程的最後,你會明白Elasticsearch到底是什麼,它是怎樣工作的,希望這個教程能幫忙你通過使用Elasticsearch他建立複雜的搜尋應用,
或者從你的資料中挖掘出有價值的資訊