# 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。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://xiaoxiami.gitbook.io/elasticsearch/ji-chu/33-apis/341suo-yin-api/shadow-replica-indices-juan-ying-fu-ben-suo-yin.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.
