Skip to content

Commit adee613

Browse files
pin version of opensearch and add note in UI (#304)
1 parent 1ba7fc3 commit adee613

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

local-dev.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ cd ../backend
126126

127127
# start frontend development server
128128
cd ../ui
129+
rm -rf node_modules
129130
pnpm install
130131
pnpm build
131132
pnpm dev &

opensearch/docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
opensearch-node1: # This is also the hostname of the container within the Docker network (i.e. https://opensearch-node1/)
3-
image: opensearchproject/opensearch:latest # Specifying the latest available image - modify if you want a specific version
3+
image: opensearchproject/opensearch:2.19.3 # Specifying the latest available image - modify if you want a specific version
44
container_name: opensearch-node1
55
environment:
66
- cluster.name=opensearch-cluster # Name the cluster
@@ -26,7 +26,7 @@ services:
2626
networks:
2727
- opensearch-net # All of the containers will join the same Docker bridge network
2828
opensearch-node2:
29-
image: opensearchproject/opensearch:latest # This should be the same image used for opensearch-node1 to avoid issues
29+
image: opensearchproject/opensearch:2.19.3 # This should be the same image used for opensearch-node1 to avoid issues
3030
container_name: opensearch-node2
3131
environment:
3232
- cluster.name=opensearch-cluster
@@ -49,7 +49,7 @@ services:
4949
networks:
5050
- opensearch-net
5151
opensearch-dashboards:
52-
image: opensearchproject/opensearch-dashboards:latest # Make sure the version of opensearch-dashboards matches the version of opensearch installed on other nodes
52+
image: opensearchproject/opensearch-dashboards:2.19.3 # Make sure the version of opensearch-dashboards matches the version of opensearch installed on other nodes
5353
container_name: opensearch-dashboards
5454
ports:
5555
- 5601:5601 # Map host port 5601 to container port 5601

ui/src/pages/Settings/VectorDBFields.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ export const VectorDBFields = ({
6969
Embedded Qdrant will be used as the vector database.
7070
</StyledHelperText>
7171
)}
72+
{selectedVectorDBProvider === "OPENSEARCH" ? (
73+
<StyledHelperText>
74+
We currently support OpenSearch versions up to and including 2.19.3
75+
</StyledHelperText>
76+
) : null}
7277
<Form.Item
7378
label={"OpenSearch Endpoint"}
7479
initialValue={projectConfig?.opensearch_config.opensearch_endpoint}

0 commit comments

Comments
 (0)