From 6bf867a200cfe71f1203c7350fd64f2b56d20085 Mon Sep 17 00:00:00 2001 From: adaisley <90253063+adaisley@users.noreply.github.com> Date: Wed, 14 Jun 2023 20:54:35 +0100 Subject: [PATCH] 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> --- .../snapshots/searchable_snapshot.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot.md b/_tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot.md index 2de6a32c..0ddeae20 100644 --- a/_tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot.md +++ b/_tuning-your-cluster/availability-and-recovery/snapshots/searchable_snapshot.md @@ -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