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 + } + } +} +```