Update Bulk Upload tutorial for best practices (#2407)

* Make Bulk Upload tutorial code snippets testable

* Align Bulk Upload tutorial with agent skill

* Update Bulk Upload tutorial

* Update title

* Remove 'Disable Indexing' section
This commit is contained in:
Abdon Pijpelink
2026-06-26 13:07:14 +02:00
committed by GitHub
parent c40892ea9a
commit 44bf1f472b
21 changed files with 248 additions and 623 deletions
@@ -5,7 +5,7 @@ public class Snippet
{
public static async Task Run()
{
var client = new QdrantClient("localhost", 6334);
var client = new QdrantClient("localhost", 6334); // @hide
await client.UpdateCollectionAsync(
collectionName: "{collection_name}",
@@ -2,8 +2,6 @@
using Qdrant.Client;
using Qdrant.Client.Grpc;
var client = new QdrantClient("localhost", 6334);
await client.UpdateCollectionAsync(
collectionName: "{collection_name}",
optimizersConfig: new OptimizersConfigDiff { IndexingThreshold = 10000 }
@@ -5,11 +5,6 @@ import (
"github.com/qdrant/go-client/qdrant"
)
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
client.UpdateCollection(context.Background(), &qdrant.UpdateCollection{
CollectionName: "{collection_name}",
OptimizersConfig: &qdrant.OptimizersConfigDiff{
@@ -7,12 +7,14 @@ import (
)
func Main() {
// @hide-start
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
if err != nil { panic(err) } // @hide
if err != nil { panic(err) }
// @hide-end
client.UpdateCollection(context.Background(), &qdrant.UpdateCollection{
CollectionName: "{collection_name}",