Qdrant: Get collection details
qdrant_get_collection_details.Rd
qdrant_get_collection_details
establishes a connection with a qdrant instance and returns the details of a specific collection.
'
Examples
conn <- get_qdrant_connection()
#> → Connection to Qdrant confirmed
qdrant_create_new_collection(conn, collection_name="story_of_my_life")
#> → Collection story_of_my_life was just created on the qdrant instance.
qdrant_get_collection_details(conn, collection_name="story_of_my_life")
#> $result
#> $result$status
#> [1] "green"
#>
#> $result$optimizer_status
#> [1] "ok"
#>
#> $result$indexed_vectors_count
#> [1] 0
#>
#> $result$points_count
#> [1] 0
#>
#> $result$segments_count
#> [1] 8
#>
#> $result$config
#> $result$config$params
#> $result$config$params$vectors
#> $result$config$params$vectors$size
#> [1] 384
#>
#> $result$config$params$vectors$distance
#> [1] "Cosine"
#>
#>
#> $result$config$params$shard_number
#> [1] 1
#>
#> $result$config$params$replication_factor
#> [1] 1
#>
#> $result$config$params$write_consistency_factor
#> [1] 1
#>
#> $result$config$params$on_disk_payload
#> [1] TRUE
#>
#>
#> $result$config$hnsw_config
#> $result$config$hnsw_config$m
#> [1] 16
#>
#> $result$config$hnsw_config$ef_construct
#> [1] 100
#>
#> $result$config$hnsw_config$full_scan_threshold
#> [1] 10000
#>
#> $result$config$hnsw_config$max_indexing_threads
#> [1] 0
#>
#> $result$config$hnsw_config$on_disk
#> [1] FALSE
#>
#>
#> $result$config$optimizer_config
#> $result$config$optimizer_config$deleted_threshold
#> [1] 0.2
#>
#> $result$config$optimizer_config$vacuum_min_vector_number
#> [1] 1000
#>
#> $result$config$optimizer_config$default_segment_number
#> [1] 0
#>
#> $result$config$optimizer_config$max_segment_size
#> NULL
#>
#> $result$config$optimizer_config$memmap_threshold
#> NULL
#>
#> $result$config$optimizer_config$indexing_threshold
#> [1] 20000
#>
#> $result$config$optimizer_config$flush_interval_sec
#> [1] 5
#>
#> $result$config$optimizer_config$max_optimization_threads
#> NULL
#>
#>
#> $result$config$wal_config
#> $result$config$wal_config$wal_capacity_mb
#> [1] 32
#>
#> $result$config$wal_config$wal_segments_ahead
#> [1] 0
#>
#>
#> $result$config$quantization_config
#> NULL
#>
#>
#> $result$payload_schema
#> named list()
#>
#>
#> $status
#> [1] "ok"
#>
#> $time
#> [1] 0.002378864
#>
qdrant_delete_collection(conn, collection_name="story_of_my_life")
#> → Collection story_of_my_life was just deleted on the qdrant instance.