-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from AnnaWheel/main
Add elasticsearch
- Loading branch information
Showing
5 changed files
with
453 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
FROM bigvectorbench-base | ||
ARG ELASTICSEARCH_VERSION=8.13.2 | ||
|
||
RUN python3 -m pip install elasticsearch==${ELASTICSEARCH_VERSION} | ||
RUN python3 -c "from elasticsearch import Elasticsearch" | ||
|
||
RUN mkdir -p /etc/docker \ | ||
&& echo '{"ip-masq": true, "iptables": true}' > /etc/docker/daemon.json | ||
|
||
# Install milvus standalone by docker-compose.yml | ||
COPY bigvectorbench/algorithms/elasticsearch/docker-compose.yml ./ | ||
# COPY bigvectorbench/algorithms/elasticsearch/.env ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
float: | ||
euclidean: | ||
- base_args: ["@metric", "@dimension"] | ||
constructor: ElasticsearchHNSW | ||
disabled: False | ||
docker_tag: bigvectorbench-elasticsearch | ||
module: bigvectorbench.algorithms.elasticsearch | ||
name: elasticsearch-hnsw | ||
run_groups: | ||
HNSW: | ||
args: | ||
M: [4, 8, 12, 16, 24, 36, 48, 64, 96] | ||
efConstruction: [200, 500] | ||
ef_runtime: [100, 120, 150, 200, 500, 600, 800] | ||
query_args: [[100, 120, 150, 200, 500, 600, 800]] |
10 changes: 10 additions & 0 deletions
10
bigvectorbench/algorithms/elasticsearch/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
services: | ||
elasticsearch: | ||
image: elasticsearch:8.13.4 | ||
ports: | ||
- 9200:9200 | ||
- 9300:9300 | ||
environment: | ||
- discovery.type=single-node | ||
- xpack.security.enabled=false |
Oops, something went wrong.