+2
-1
cmd/palomar/Dockerfile.opensearch
+2
-1
cmd/palomar/Dockerfile.opensearch
+4
-2
cmd/palomar/README.md
+4
-2
cmd/palomar/README.md
···
64
64
65
65
## Development Quickstart
66
66
67
-
Run an ephemeral opensearch instance on local port 9200, with SSL disabled, and the `analysis-icu` plugin installed, using docker:
67
+
Run an ephemeral opensearch instance on local port 9200, with SSL disabled, and the `analysis-icu` and `analysis-kuromoji` plugins installed, using docker:
68
68
69
69
docker build -f Dockerfile.opensearch . -t opensearch-palomar
70
-
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" opensearch-palomar
70
+
71
+
# in any non-development system, obviously change this default password
72
+
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "plugins.security.disabled=true" -e OPENSEARCH_INITIAL_ADMIN_PASSWORD=0penSearch-Pal0mar opensearch-palomar
71
73
72
74
See [README.opensearch.md]() for more Opensearch operational tips.
73
75
+3
-1
cmd/palomar/README.opensearch.md
+3
-1
cmd/palomar/README.opensearch.md
···
1
1
2
2
# Basic OpenSearch Operations
3
3
4
-
We use OpenSearch version 2.5+, with the `analysis-icu` plugin. This is included automatically on the AWS hosted version of Opensearch, otherwise you need to install:
4
+
We use OpenSearch version 2.13+, with the `analysis-icu` and `analysis-kuromoji` plugins. These are included automatically on the AWS hosted version of Opensearch, otherwise you need to install:
5
5
6
6
sudo /usr/share/opensearch/bin/opensearch-plugin install analysis-icu
7
+
sudo /usr/share/opensearch/bin/opensearch-plugin install analysis-kuromoji
7
8
sudo service opensearch restart
8
9
9
10
If you are trying to use Elasticsearch 7.10 instead of OpenSearch, you can install the plugin with:
10
11
11
12
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
13
+
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-kuromoji
12
14
sudo service elasticsearch restart
13
15
14
16
## Local Development