Skip to content

OpenSearch

CEDAR uses OpenSearch to make search for artifacts possible.

Install OpenSearch

Please install OpenSearch, version 7:

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            | Running | httpResponse| 9200| HTTP/1.1\s200\sOK |
| OpenSearch-Transport       | Running | openPort    | 9300|                   |