# Shadow replica indices 卷影副本索引

> 不建议使用该特性在5.2中
>
> 此功能是实验性功能，可能在未来的版本中完全更改或删除。

更多内容查看官方文档[Shadow replica indices](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/indices-shadow-replicas.html)

## 依赖卷影副本的节点级设置

这些是非动态设置，需要在`elasticsearch.yml`中配置`node.add_lock_id_to_custom_path`

> 布尔值设置elasticsearch是否将节点的序号追加到自定义数据路径。例如，如果启动并且使用路径“/tmp/foo”,则第一个本地运行的节点会使用“/tmp/foo/0”，第二个节点使用“/tmp/foo/1”，第三个节点使用“/tmp/foo/2”等。默认为true。
