1. 环境准备 🛠️

2. 核心概念速览 📚

概念 说明
Cluster 一个或多个节点组成的集群
Node 存储数据并参与集群操作的单元
Index 数据的逻辑容器(类似数据库)

3. 快速操作示例 💡

# 创建索引
curl -X POST "localhost:9200/my_index?pretty" -H 'Content-Type: application/json' -d'
{
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 0
  },
  "mappings": {
    "properties": {
      "title": { "type": "text" }
    }
  }
}'
Elasticsearch_Dashboard

4. 数据探索技巧 🔍