Docker image/tag: semitechnologies/weaviate:0.22.6
See also: example docker compose files in English, German, Dutch, Italian and Czech.
Breaking Changes
none
New Features
-
Filter objects by count of references (#1101)
Weaviate has already offered substantial "filter by references" capabilities in the past, such as "Find all Cities located in a Country with a population size larger than x". However, prior to this release it was not possible to filter for cases such as "Show all Cities not associated with a Country" or "Find all authors who wrote at least 2 articles".This release adds the ability to filter by reference count. To do so, simply provide one of the existing compare operators (
Equal
,LessThan
,LessThanEqual
,GreaterThan
,GreaterThanEqual
) and use it directly on the reference element. For example, the following GraphQL query:{ Get { Things { Author( where:{ valueInt: 2 operator:GreaterThanEqual path: ["WroteArticles"] } ) { name WroteArticles { ... on Article { title } } } } } }
Note: The example above uses the News Publication dataset.
Fixes
none