You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/collections.md
+58Lines changed: 58 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,64 @@ SHOW COLLECTIONS
24
24
25
25
---
26
26
27
+
## SHOW COLLECTION — inspect one collection
28
+
29
+
Returns collection diagnostics for a single collection using Qdrant's collection info.
30
+
31
+
**Syntax:**
32
+
```sql
33
+
SHOW COLLECTION <collection_name>
34
+
```
35
+
36
+
**What it shows:**
37
+
38
+
- Point count
39
+
- Indexed vector count
40
+
- Segment count
41
+
- Vector names, dimensions, and distance metrics
42
+
- Dense vs hybrid topology
43
+
- Sparse vector modifiers when present
44
+
- Quantization mode
45
+
- HNSW configuration
46
+
- Payload indexes detected by Qdrant
47
+
- Shard, replica, and write consistency settings
48
+
49
+
**Example:**
50
+
```sql
51
+
SHOW COLLECTION research_papers
52
+
```
53
+
54
+
**Output:**
55
+
```
56
+
OK Collection 'research_papers' diagnostics
57
+
Collection: research_papers
58
+
Status : green
59
+
Points : 12450
60
+
Indexed vectors : 12450
61
+
Segments : 3
62
+
Topology : hybrid
63
+
Vector 'dense' : 768 dims, Cosine distance
64
+
Sparse 'sparse' : modifier=idf
65
+
Quantization : scalar
66
+
HNSW M : 16
67
+
HNSW ef_construct : 100
68
+
Payload indexes:
69
+
category: keyword
70
+
year: integer
71
+
Shards : 1
72
+
Replicas : 1
73
+
Write consistency : 1
74
+
```
75
+
76
+
**Notes:**
77
+
78
+
-`Topology` is `dense` for standard collections and `hybrid` when sparse vectors are configured alongside dense vectors.
79
+
- Dense collections with named vectors still report their vector names and dimensions.
80
+
- If no payload indexes exist, QQL prints `Payload indexes : none`.
81
+
- Raises an error if the collection does not exist.
82
+
83
+
---
84
+
27
85
## CREATE COLLECTION — create a collection
28
86
29
87
Explicitly creates a new empty collection. Collections are also created automatically on the first INSERT, so this command is optional — use it when you want to pre-create a collection before inserting data.
0 commit comments