Skip to content

Commit

Permalink
Update searchable snapshot documentation to be more correct (#4203)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Apply suggestions from code review

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: adaisley <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
  • Loading branch information
2 people authored and vagimeli committed Dec 20, 2023
1 parent 62f53b5 commit 3d42282
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 3d42282

Please sign in to comment.