Update searchable snapshot documentation to be more correct (#4203)
* Update searchable_snapshot.md This is more in-line with what is defined in the example Opensearch docker-compose I tried the current approach and it straight-up did not work in it's current form. Signed-off-by: adaisley <90253063+adaisley@users.noreply.github.com> * Apply suggestions from code review Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> --------- Signed-off-by: adaisley <90253063+adaisley@users.noreply.github.com> Signed-off-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
This commit is contained in:
parent
4702a49ea4
commit
6bf867a200
|
@ -23,7 +23,7 @@ To configure the searchable snapshots feature, create a node in your opensearch.
|
|||
node.roles: [ search ]
|
||||
```
|
||||
|
||||
If you're running Docker, you can create a node with the `search` node role by adding the line `- node.roles: [ search ]` to your docker-compose.yml file:
|
||||
If you're running Docker, you can create a node with the `search` node role by adding the line `- node.roles=search` to your `docker-compose.yml` file:
|
||||
|
||||
```bash
|
||||
version: '3'
|
||||
|
@ -34,7 +34,7 @@ services:
|
|||
environment:
|
||||
- cluster.name=opensearch-cluster
|
||||
- node.name=opensearch-node1
|
||||
- node.roles: [ search ]
|
||||
- node.roles=search
|
||||
```
|
||||
|
||||
## Create a searchable snapshot index
|
||||
|
|
Loading…
Reference in New Issue