From 56b701f4cbe90ba7ff11f3bbb9e442cad412384c Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Wed, 8 Nov 2023 09:27:33 +0000 Subject: [PATCH] aws: additional notes on opensearch --- DevOps/AWS/OpenSearch.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/DevOps/AWS/OpenSearch.md b/DevOps/AWS/OpenSearch.md index 1132d31..fe07cb5 100644 --- a/DevOps/AWS/OpenSearch.md +++ b/DevOps/AWS/OpenSearch.md @@ -39,7 +39,7 @@ The domain provides network **endpoints** you use to communicate and send reques #### Clusters and nodes -A cluster is the highest level of organisation in OpensSearch that contains your indexed data. It processes all the search queries and handles tasks like indexing, searching, and managing documents. +A cluster is the highest level of organisation within an OpensSearch domain that contains your indexed data. It processes all the search queries and handles tasks like indexing, searching, and managing documents. ![](/_img/opensearch-architecture.drawio.svg) @@ -188,3 +188,18 @@ Find pages published after a certain date: } } ``` + +```json +{ + "query": { + "bool": { + "should": [ + { "match": { "fileId": "val" } }, + { "match": { "programmeId": "val" } }, + { "match": { "guid": "val" } } + ], + "minimum_should_match": 1 + } + } +} +```