You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the rest of the document, assume `songs` is handle for the "Songs" collection defined elsewhere.
276
280
281
+
277
282
#### Generic `PropertiesT`
278
283
279
284
Weaviate client lets you insert object properties in different "shapes". The compile-time type in which the properties must be passed is determined by a generic paramter in CollectionHandle object.
@@ -283,10 +288,12 @@ In practice this means you'll be passing an instance of `Map<String, Object>` to
283
288
284
289
If you prefer stricter typing, you can leverage our built-in ORM to work with properties as custom Java types. We will return to this in the **ORM** section later. Assume for now that properties are always being passed around as an "untyped" map.
285
290
291
+
286
292
### Ingesting data
287
293
288
294
Data operations are concentrated behind the `.data` namespace.
>The first object returned in a NearObject query will _always_ be the search object itself. To filter it out, use the `.excludeSelf()` helper as in the example above.
Passing `null` and and empty `Where[]` to any of the logical operators as well as to the `.where()` method is safe -- the empty operators will simply be ignored.
483
491
492
+
484
493
#### Grouping results
485
494
486
495
Every query above has an overloaded variant that accepts a group-by clause.
@@ -502,6 +511,7 @@ songs.query.bm25(
502
511
503
512
The shape of the response object is different too, see [`QueryResponseGrouped`](./src/main/java/io/weaviate/client6/v1/api/collections/query/QueryResponseGrouped.java).
504
513
514
+
505
515
### Pagination
506
516
507
517
Paginating a Weaviate collection is straighforward and its API should is instantly familiar. `CursorSpliterator` powers 2 patterns for iterating over objects:
@@ -700,6 +710,7 @@ System.out.println(
700
710
701
711
Some of these features may be added in future releases.
0 commit comments