OpenSearch¶
CEDAR uses OpenSearch to make search for artifacts possible.
Install OpenSearch¶
Please install OpenSearch, version 2.18:
brew install opensearch
And pin this version:
brew pin opensearch
Important
Do not add OpenSearch as a background service! We will have scripts in place which will start it when necessary.
Do not start OpenSearch at this point!
Configure OpenSearch¶
vi $(brew --prefix)/etc/opensearch/opensearch.yml
Around line #17, change the cluster name configuration:
cluster.name: opensearch_cedar
Start OpenSearch¶
startsearch
Check OpenSearch status¶
cedarcli status
You should see the following lines in the output:
│ OpenSearch-REST │ ✅ │ 9200 │ │
│ OpenSearch-Transport │ ✅ │ 9300 │ │