mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
[DOCS] Add blurb about data_path
not needing to include index name
Resolves #11497 (node.enable_custom_paths is no longer used)
This commit is contained in:
parent
2e3160824c
commit
5451763935
@ -51,7 +51,7 @@ curl -XPUT 'localhost:9200/my_index' -d '
|
||||
"number_of_replicas" : 4,
|
||||
"data_path": "/opt/data/my_index",
|
||||
"shadow_replicas": true
|
||||
}
|
||||
}
|
||||
}'
|
||||
--------------------------------------------------
|
||||
|
||||
@ -63,6 +63,9 @@ ensure that the Elasticsearch process has the correct permissions to read from
|
||||
and write to the directory used in the `index.data_path` setting.
|
||||
========================
|
||||
|
||||
The `data_path` does not have to contain the index name, in this case,
|
||||
"my_index" was used but it could easily also have been "/opt/data/"
|
||||
|
||||
An index that has been created with the `index.shadow_replicas` setting set to
|
||||
"true" will not replicate document operations to any of the replica shards,
|
||||
instead, it will only continually refresh. Once segments are available on the
|
||||
|
Loading…
x
Reference in New Issue
Block a user