Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.

Commit ebbe6f9

Browse files
committed
chore(docs): update docs generation
1 parent 9b452ec commit ebbe6f9

2 files changed

Lines changed: 58 additions & 4 deletions

File tree

‎scripts/benchmarking.py‎

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,31 @@ def recall(predicted, relevant, eval_at):
122122
'max_connection': 16,
123123
},
124124
),
125-
('qdrant', {'n_dim': D, 'scroll_batch_size': 8, 'ef_construct': 100, 'm': 16}),
125+
(
126+
'qdrant',
127+
{
128+
'n_dim': D,
129+
'scroll_batch_size': 8,
130+
'ef_construct': 100,
131+
'm': 16,
132+
'port': '6333',
133+
},
134+
),
126135
(
127136
'weaviate',
128-
{'n_dim': D, 'ef': 100, 'ef_construction': 100, 'max_connections': 16},
137+
{
138+
'n_dim': D,
139+
'ef': 100,
140+
'ef_construction': 100,
141+
'max_connections': 16,
142+
'port': '6334',
143+
},
144+
),
145+
(
146+
'elasticsearch',
147+
{'n_dim': D, 'ef_construction': 100, 'm': 16, 'port': '6335'},
129148
),
130-
('elasticsearch', {'n_dim': D, 'ef_construction': 100, 'm': 16}),
131-
('redis', {'n_dim': D, 'ef_construction': 100, 'm': 16}),
149+
('redis', {'n_dim': D, 'ef_construction': 100, 'm': 16, 'port': '6336'}),
132150
]
133151

134152
table = Table(

‎scripts/docker-compose.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: "3.3"
2+
services:
3+
weaviate:
4+
image: semitechnologies/weaviate:1.13.2
5+
ports:
6+
- "6334:6334"
7+
environment:
8+
CONTEXTIONARY_URL: contextionary:9999
9+
QUERY_DEFAULTS_LIMIT: 25
10+
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
11+
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
12+
qdrant:
13+
image: qdrant/qdrant:v0.7.0
14+
ports:
15+
- "6333:6333"
16+
ulimits: # Only required for tests, as there are a lot of collections created
17+
nofile:
18+
soft: 65535
19+
hard: 65535
20+
elastic:
21+
image: docker.elastic.co/elasticsearch/elasticsearch:8.2.0
22+
environment:
23+
- xpack.security.enabled=false
24+
- discovery.type=single-node
25+
ports:
26+
- "6335:6335"
27+
networks:
28+
- elastic
29+
redis:
30+
image: redislabs/redisearch:2.6.0
31+
ports:
32+
- "6336:6336"
33+
34+
networks:
35+
elastic:
36+
name: elastic

0 commit comments

Comments
 (0)