Regenerate snippet .md files

Run `./generate-md.py` to update generated markdown files after
semi-manual changes made in the previous commit.
This commit serves as a gist of fixed issues found in snippets.

(it's easier to review 250 lines diff rather than 31k lines diff, isn't it?)
This commit is contained in:
xzfc
2025-11-28 22:02:34 +00:00
parent 74a785218b
commit 178a9bae72
164 changed files with 248 additions and 220 deletions
@@ -15,7 +15,7 @@ client.CreateShardKey(
"{collection_name}",
&qdrant.CreateShardKey{
ShardKey: qdrant.NewShardKey("default"),
InitialState: qdrant.ReplicaState_PARTIAL,
}
InitialState: qdrant.PtrOf(qdrant.ReplicaState_Partial),
},
)
```
@@ -6,6 +6,7 @@ import io.qdrant.client.QdrantGrpcClient;
import io.qdrant.client.grpc.Collections.CreateShardKey;
import io.qdrant.client.grpc.Collections.CreateShardKeyRequest;
import io.qdrant.client.grpc.Collections.ReplicaState;
import io.qdrant.client.grpc.Common.Filter;
QdrantClient client =
new QdrantClient(QdrantGrpcClient.newBuilder("localhost", 6334, false).build());
@@ -14,7 +15,7 @@ client.createShardKeyAsync(CreateShardKeyRequest.newBuilder()
.setCollectionName("{collection_name}")
.setRequest(CreateShardKey.newBuilder()
.setShardKey(shardKey("default"))
.setInitialState(ReplicaState.PARTIAL)
.setInitialState(ReplicaState.Partial)
.build())
.build()).get();
```