forked from qdrant/qdrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
52 lines (36 loc) · 1.56 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
storage:
# Where to store all the data
storage_path: ./storage
# Write-ahead-log related configuration
wal:
# Size of a single WAL segment
wal_capacity_mb: 32
# Number of WAL segments to create ahead of actual data requirement
wal_segments_ahead: 0
performance:
# Number of parallel threads used for search operations. If 0 - auto selection.
max_search_threads: 0
optimizers:
# The minimal fraction of deleted vectors in a segment, required to perform segment optimization
deleted_threshold: 0.2
# The minimal number of vectors in a segment, required to perform segment optimization
vacuum_min_vector_number: 1000
# If the number of segments exceeds this value, the optimizer will merge the smallest segments.
max_segment_number: 5
# Maximum number of vectors to store in-memory per segment.
# Segments larger than this threshold will be stored as read-only memmaped file.
memmap_threshold: 50000
# Maximum number of vectors allowed for plain index.
# Default value based on https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md
indexing_threshold: 20000
# Starting from this amount of vectors per-segment the engine will start building index for payload.
payload_indexing_threshold: 10000
# Minimum interval between forced flushes.
flush_interval_sec: 10
service:
# Maximum size of POST data in a single request in megabytes
max_request_size_mb: 32
# Host to bind the service on
host: 0.0.0.0
# Port to bind the service on
port: 6333