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:
adaisley 2023-06-14 20:54:35 +01:00 committed by GitHub
parent 4702a49ea4
commit 6bf867a200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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