Skip to content

Commit 6bf867a

Browse files
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>
1 parent 4702a49 commit 6bf867a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To configure the searchable snapshots feature, create a node in your opensearch.
2323
node.roles: [ search ]
2424
```
2525

26-
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:
26+
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:
2727

2828
```bash
2929
version: '3'
@@ -34,7 +34,7 @@ services:
3434
environment:
3535
- cluster.name=opensearch-cluster
3636
- node.name=opensearch-node1
37-
- node.roles: [ search ]
37+
- node.roles=search
3838
```
3939

4040
## Create a searchable snapshot index

0 commit comments

Comments
 (0)