mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
doc: Added missed C#, Go snippet (#1175)
This commit is contained in:
@@ -1399,6 +1399,27 @@ client
|
|||||||
.get();
|
.get();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
await client.DeleteVectorsAsync("{collection_name}", ["text", "image"], [0, 3, 10]);
|
||||||
|
```
|
||||||
|
|
||||||
|
```go
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
|
||||||
|
"github.com/qdrant/go-client/qdrant"
|
||||||
|
)
|
||||||
|
|
||||||
|
client.DeleteVectors(context.Background(), &qdrant.DeletePointVectors{
|
||||||
|
CollectionName: "{collection_name}",
|
||||||
|
PointsSelector: qdrant.NewPointsSelector(
|
||||||
|
qdrant.NewIDNum(0), qdrant.NewIDNum(3), qdrant.NewIDNum(10)),
|
||||||
|
Vectors: &qdrant.VectorsSelector{
|
||||||
|
Names: []string{"text", "image"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
To delete entire points, see [deleting points](#delete-points).
|
To delete entire points, see [deleting points](#delete-points).
|
||||||
|
|
||||||
### Update payload
|
### Update payload
|
||||||
@@ -2569,4 +2590,4 @@ In this case, the API will return the result only after the operation is finishe
|
|||||||
"status": "ok",
|
"status": "ok",
|
||||||
"time": 0.000206061
|
"time": 0.000206061
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user