We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9903d95 commit 9a85950Copy full SHA for 9a85950
1 file changed
src/it/java/io/weaviate/integration/BatchITest.java
@@ -9,6 +9,7 @@
9
import io.weaviate.ConcurrentTest;
10
import io.weaviate.client6.v1.api.WeaviateClient;
11
import io.weaviate.client6.v1.api.collections.WeaviateObject;
12
+import io.weaviate.client6.v1.api.collections.batch.BatchContext;
13
import io.weaviate.containers.Container;
14
import io.weaviate.containers.Weaviate;
15
@@ -27,7 +28,7 @@ public void test10_000Objects() throws IOException {
27
28
var things = client.collections.create(nsThings);
29
30
// Act
- try (var batch = things.batch.start()) {
31
+ try (BatchContext<?> batch = things.batch.start()) {
32
for (int i = 0; i < 10_000; i++) {
33
batch.add(WeaviateObject.of());
34
}
0 commit comments