Docs for adding/removing named vectors (#2282)

* Initial commit

* Switch to title case for Collections page

* Move to Collections page

* One more clarification

* Update section title
This commit is contained in:
Abdon Pijpelink
2026-04-30 09:03:48 +02:00
committed by GitHub
parent c4ee144773
commit 10b98c3ca2
9 changed files with 94 additions and 26 deletions
@@ -0,0 +1 @@
Create a new dense named vector on an existing collection. Only the immutable vector-space properties are required: size and distance. Storage type, index, and quantization can be configured separately afterward.
@@ -0,0 +1,9 @@
```http
PUT /collections/{collection_name}/vectors/{vector_name}
{
"dense": {
"size": 256,
"distance": "Cosine"
}
}
```
@@ -0,0 +1 @@
Create a new sparse named vector on an existing collection. Only the immutable vector-space properties are required. Storage type, index, and quantization can be configured separately afterward.
@@ -0,0 +1,8 @@
```http
PUT /collections/{collection_name}/vectors/{vector_name}
{
"sparse": {
"modifier": "Idf"
}
}
```
@@ -0,0 +1 @@
Delete a named vector from an existing collection. This removes the vector schema and all associated data from every segment. Existing points lose this vector field; they are not otherwise affected.
@@ -0,0 +1,3 @@
```http
DELETE /collections/{collection_name}/vectors/{vector_name}
```