> For the complete documentation index, see [llms.txt](https://xiaoxiami.gitbook.io/elasticsearch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xiaoxiami.gitbook.io/elasticsearch/ji-chu/33-apis/341suo-yin-api.md).

# 3.4.1.索引 APIs (Indices APIs)

索引API用于管理单个索引、索引设置、别名、映射和索引模板。

## Index management (索引管理) <a href="#id-suo-yin-api-ying-she-guan-li" id="id-suo-yin-api-ying-she-guan-li"></a>

* [*Create Index*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-create-index.html)   创建索引
* [*Delete Index*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-delete-index.html) 删除索引
* [*Get Index*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-get-index.html) 获取索引
* [*Indices Exists*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-exists.html) 索引是否存在
* [*Open / Close Index API*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-open-close.html)  启动关闭索引
* [*Shrink Index*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-shrink-index.html)  缩小索引
* [*Rollover Index*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-rollover-index.html)  滚动索引

## Mapping management (映射管理)

* [*Put Mapping*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-put-mapping.html) 提交映射
* [*Get Mapping*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-get-mapping.html)  获取映射
* [*Get Field Mapping*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-get-field-mapping.html) 获取字段映射
* [*Types Exists*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-types-exists.html) 类型是否存在

## Alias management(别名管理)

* [*Index Aliases*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-aliases.html) 索引别名

## Index settings (索引设置)

* [*Update Indices Settings*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-update-settings.html) 更新索引设置
* [*Get Settings*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-get-settings.html)    获取设置
* [*Analyze*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-analyze.html)           分析器
* [*Index Templates*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-templates.html)  索引模板

## Replica configurations (副本设置)

* [*Shadow replica indices*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-shadow-replicas.html) 卷影副本索引

## Monitoring(监控)

* [*Indices Stats*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-stats.html)  索引统计信息
* [*Indices Segments*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-segments.html)  索引段
* [*Indices Recovery*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-recovery.html) 索引恢复
* [*Indices Shard Stores*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-shards-stores.html) 索引分片存储

## Status management(状态管理)

* [*Clear Cache*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-clearcache.html) 清理缓存
* [*Refresh*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-refresh.html)   刷新
* [*Flush*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-flush.html)   重新加载
* [*Force Merge*](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-forcemerge.html) 强制合并&#x20;
