The property configuration.
A promise that resolves when the property has been added.
Add a reference to the collection in Weaviate.
The reference configuration.
A promise that resolves when the reference has been added.
Get the configuration for this collection from Weaviate.
A promise that resolves with the collection configuration.
Get the statuses of the shards of this collection.
If the collection is multi-tenancy and you did not call .with_tenant
then you
will receive the statuses of all the tenants within the collection. Otherwise, call
.with_tenant
on the collection first and you will receive only that single shard.
A promise that resolves with the shard statuses.
Update the configuration for this collection in Weaviate.
Use the weaviate.classes.Reconfigure
class to generate the necessary configuration objects for this method.
Optional
config: CollectionConfigUpdateThe configuration to update. Only a subset of the actual collection configuration can be updated.
A promise that resolves when the collection has been updated.
Update the status of one or all shards of this collection.
The new status of the shard(s).
Optional
names: string | string[]The name(s) of the shard(s) to update. If not provided, all shards will be updated.
A promise that resolves with the updated shard statuses.
Add a property to the collection in Weaviate.