# Elasticsearch入门

准备好将Elasticsearch用作测试驱动器，并亲自了解如何使用REST API来存储，搜索和分析数据？

逐步完成本入门教程，以：

1. 启动并运行Elasticsearch集群
2. 为一些样本文件编制索引
3. 使用Elasticsearch查询语言搜索文档
4. 使用存储桶和指标聚合分析结果

需要更多背景信息？

查看[Elasticsearch简介](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/elasticsearch-intro.html)，学习术语，并了解Elasticsearch的工作原理。如果您已经熟悉Elasticsearch并想了解它如何与其余堆栈一起工作，则可能要跳到 [Elastic Stack教程，](https://www.elastic.co/guide/en/elastic-stack-get-started/7.x/get-started-elastic-stack.html)以了解如何使用Elasticsearch，Kibana，Beats和Logstash。

> 开始使用Elasticsearch的最快方法是 在云[中开始Elasticsearch Service的14天免费试用](https://www.elastic.co/cloud/elasticsearch-service/signup?baymax=docs-body\&elektra=docs)。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pope.gitbook.io/elastic-book/elasticsearch-ru-men.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
