Replies: 1 comment 1 reply
-
Hi @bibekyess You're using Qdrant in local mode, which is not supposed to be used for indexing a large amount of documents Some of the functionality is not supported there, however, the interface is the same as in the server version, so you could switch to it just by replacing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I noticed that when I am using
qdrant
locally thenon_disk_payload
parameter cannot be set to True, which makes the RAM usage very high while indexing large number of documents.For my usecase, I need to use local
qdrant
instance without docker, so I am wondering if this behaviour is expected or a bug.Replication code:
Output
{'params': CollectionParams(vectors=VectorParams(size=1024, distance=<Distance.COSINE: 'Cosine'>, hnsw_config=None, quantization_config=None, on_disk=True, datatype=None, multivector_config=None), shard_number=None, sharding_method=None, replication_factor=None, write_consistency_factor=None, read_fan_out_factor=None, on_disk_payload=None, sparse_vectors=None), 'hnsw_config': HnswConfig(m=16, ef_construct=100, full_scan_threshold=10000, max_indexing_threads=0, on_disk=None, payload_m=None), 'optimizer_config': OptimizersConfig(deleted_threshold=0.2, vacuum_min_vector_number=1000, default_segment_number=0, max_segment_size=None, memmap_threshold=None, indexing_threshold=20000, flush_interval_sec=5, max_optimization_threads=1), 'wal_config': WalConfig(wal_capacity_mb=32, wal_segments_ahead=0), 'quantization_config': None}
Output with docker image
{'params': CollectionParams(vectors=VectorParams(size=1024, distance=<Distance.COSINE: 'Cosine'>, hnsw_config=None, quantization_config=None, on_disk=True, datatype=None, multivector_config=None), shard_number=1, sharding_method=None, replication_factor=1, write_consistency_factor=1, read_fan_out_factor=None, on_disk_payload=True, sparse_vectors=None), 'hnsw_config': HnswConfig(m=16, ef_construct=100, full_scan_threshold=10000, max_indexing_threads=0, on_disk=True, payload_m=None), 'optimizer_config': OptimizersConfig(deleted_threshold=0.2, vacuum_min_vector_number=1000, default_segment_number=0, max_segment_size=None, memmap_threshold=10000, indexing_threshold=20000, flush_interval_sec=5, max_optimization_threads=None), 'wal_config': WalConfig(wal_capacity_mb=32, wal_segments_ahead=0), 'quantization_config': None}
Specs:
Name: qdrant-client
Version: 1.10.1
Beta Was this translation helpful? Give feedback.
All reactions