Skip to content

Commit 4335df5

Browse files
committed
Fix some snippets
1 parent e7e2bd7 commit 4335df5

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

qdrant-landing/content/documentation/headless/snippets/insert-points/list-of-points-simple/generated/rust.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ client
66
UpsertPointsBuilder::new(
77
"{collection_name}",
88
vec![
9-
PointStruct::new(1, vec![0.9, 0.1, 0.1], [("city", "red".into())]),
10-
PointStruct::new(2, vec![0.1, 0.9, 0.1], [("city", "green".into())]),
11-
PointStruct::new(3, vec![0.1, 0.1, 0.9], [("city", "blue".into())]),
9+
PointStruct::new(1, vec![0.9, 0.1, 0.1], [("color", "red".into())]),
10+
PointStruct::new(2, vec![0.1, 0.9, 0.1], [("color", "green".into())]),
11+
PointStruct::new(3, vec![0.1, 0.1, 0.9], [("color", "blue".into())]),
1212
],
1313
)
1414
.wait(true),

qdrant-landing/content/documentation/headless/snippets/insert-points/list-of-points-simple/rust.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ pub async fn main() -> anyhow::Result<()> {
88
UpsertPointsBuilder::new(
99
"{collection_name}",
1010
vec![
11-
PointStruct::new(1, vec![0.9, 0.1, 0.1], [("city", "red".into())]),
12-
PointStruct::new(2, vec![0.1, 0.9, 0.1], [("city", "green".into())]),
13-
PointStruct::new(3, vec![0.1, 0.1, 0.9], [("city", "blue".into())]),
11+
PointStruct::new(1, vec![0.9, 0.1, 0.1], [("color", "red".into())]),
12+
PointStruct::new(2, vec![0.1, 0.9, 0.1], [("color", "green".into())]),
13+
PointStruct::new(3, vec![0.1, 0.1, 0.9], [("color", "blue".into())]),
1414
],
1515
)
1616
.wait(true),

qdrant-landing/content/documentation/headless/snippets/insert-points/update-mode/generated/java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ QdrantClient client =
1717
client
1818
.upsertAsync(
1919
UpsertPoints.newBuilder()
20-
.setCollectionName("collection_name}")
20+
.setCollectionName("{collection_name}")
2121
.addAllPoints(
2222
List.of(
2323
PointStruct.newBuilder()

qdrant-landing/content/documentation/headless/snippets/insert-points/update-mode/java.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static void run() throws Exception {
2020
client
2121
.upsertAsync(
2222
UpsertPoints.newBuilder()
23-
.setCollectionName("collection_name}")
23+
.setCollectionName("{collection_name}")
2424
.addAllPoints(
2525
List.of(
2626
PointStruct.newBuilder()

0 commit comments

Comments
 (0)