Pick the Update collection definition action (under schema).
Fill in the fields below, then reference the result from later steps as {{updateCollectionDefinition.response.data}}.
Request
Path parameters
classNamestringrequired
The name of the collection (class) to update.
Request body
Enter the body as JSON in the step's Body field.
classstring
Name of the collection (formerly 'class') (required). Multiple words should be concatenated in CamelCase, e.g. `ArticleAuthor`.
vectorConfigobject
Configure named vectors. Either use this field or `vectorizer`, `vectorIndexType`, and `vectorIndexConfig` fields. Available from `v1.24.0`.
vectorIndexTypestring
Name of the vector index type to use for the collection (e.g. `hnsw` or `flat`).
vectorIndexConfigobject
Vector-index config, that is specific to the type of index selected in vectorIndexType
shardingConfigobject
Manage how the index should be sharded and distributed in the cluster
replicationConfigobject
Configure how replication is executed in a cluster
factorinteger
Number of times a collection (class) is replicated (default: 1).
asyncConfigobject12 fields
Configuration for asynchronous replication.
deletionStrategystring
Conflict resolution strategy for deleted objects.
One ofNoAutomatedResolutionDeleteOnConflictTimeBasedResolution
invertedIndexConfigobject
Configure the inverted index built into Weaviate. See [Reference: Inverted index](https://docs.weaviate.io/weaviate/config-refs/indexing/inverted-index#inverted-index-parameters) for details.
cleanupIntervalSecondsnumber (int)
Asynchronous index clean up happens every n seconds (default: 60).
bm25object2 fields
Tuning parameters for the BM25 algorithm.
stopwordsobject3 fields
Fine-grained control over stopword list usage.
indexTimestampsboolean
Index each object by its internal timestamps (default: `false`).
indexNullStateboolean
Index each object with the null state (default: `false`).
indexPropertyLengthboolean
Index length of properties (default: `false`).
usingBlockMaxWANDboolean
Using BlockMax WAND for query execution (default: `false`, will be `true` for new collections created after 1.30).
tokenizerUserDictarray<object>2 fields
User-defined dictionary for tokenization.
stopwordPresetsobject
User-defined named stopword lists. Each key is a preset name that can be referenced by a property's textAnalyzer.stopwordPreset field. The value is an array of stopword strings. Preset names must not be empty or whitespace-only; each list must contain at least one word; individual words must not be empty or whitespace-only.
multiTenancyConfigobject
Configuration related to multi-tenancy within a collection (class)
enabledboolean
Whether or not multi-tenancy is enabled for this collection (class) (default: `false`).
autoTenantCreationboolean
Nonexistent tenants should (not) be created implicitly (default: `false`).
autoTenantActivationboolean
Existing tenants should (not) be turned HOT implicitly when they are accessed and in another activity status (default: `false`).
objectTtlConfigobject
Configuration of objects' time-to-live
enabledboolean
Whether or not object ttl is enabled for this collection (default: `false`).
defaultTtlinteger
Interval (in seconds) to be added to `deleteOn` value, denoting object's expiration time. Has to be positive for `deleteOn` set to `_creationTimeUnix` or `_lastUpdateTimeUnix`, any for custom property (default: `0`).
deleteOnstring
Name of the property holding base time to compute object's expiration time (ttl = value of deleteOn property + defaultTtl). Can be set to `_creationTimeUnix`, `_lastUpdateTimeUnix` or custom property of `date` datatype.
filterExpiredObjectsboolean
Whether remove from resultset expired, but not yet deleted by background process objects (default: `false`).
vectorizerstring
Specify how the vectors for this collection should be determined. The options are either `none` - this means you have to import a vector with each object yourself - or the name of a module that provides vectorization capabilities, such as `text2vec-weaviate`. If left empty, it defaults to `none`.
moduleConfigobject
Configuration specific to modules in a collection context.
descriptionstring
Description of the collection for metadata purposes.
propertiesarray<object>
Define properties of the collection.
dataTypearray<string>
Data type of the property (required). If it starts with a capital (for example Person), may be a reference to another type.
descriptionstring
Description of the property.
moduleConfigobject
Configuration specific to modules in a collection context.
namestring
The name of the property (required). Multiple words should be concatenated in camelCase, e.g. `nameOfAuthor`.
indexInvertedboolean
(Deprecated). Whether to include this property in the inverted index. If `false`, this property cannot be used in `where` filters, `bm25` or `hybrid` search. <br/><br/>Unrelated to vectorization behavior (deprecated as of v1.19; use indexFilterable or/and indexSearchable instead)
bucketGenerationinteger (int64)
Internal RAFT-replicated counter bumped by semantic runtime-reindex migrations (e.g. change-tokenization, enable-filterable, enable-searchable). Used by the data path to resolve the property's inverted-index bucket name; a single RAFT commit flipping the schema flag AND bumping this counter atomically cuts the cluster from the old bucket to the new one. Defaults to 0. Internal use; clients should not set this.
searchableBlockmaxboolean
Internal RAFT-replicated per-property flag: true iff this property's searchable (BM25) bucket is on the blockmax (StrategyInverted) index. Stamped at migration cutover. Absent/null means "not stamped" and is resolved against the class-wide UsingBlockMaxWAND flag. Internal use; clients must not set this.
indexFilterableboolean
Whether to include this property in the filterable, Roaring Bitmap index. If `false`, this property cannot be used in `where` filters. <br/><br/>Note: Unrelated to vectorization behavior.
indexSearchableboolean
Optional. Should this property be indexed in the inverted index. Defaults to true. Applicable only to properties of data type text and text[]. If you choose false, you will not be able to use this property in bm25 or hybrid search. This property has no affect on vectorization decisions done by modules
indexRangeFiltersboolean
Whether to include this property in the filterable, range-based Roaring Bitmap index. Provides better performance for range queries compared to filterable index in large datasets. Applicable only to properties of data type int, number, date.
tokenizationstring
Determines how a property is indexed. This setting applies to `text` and `text[]` data types. The following tokenization methods are available:<br/><br/>- `word` (default): Splits the text on any non-alphanumeric characters and lowercases the tokens.<br/>- `lowercase`: Splits the text on whitespace and lowercases the tokens.<br/>- `whitespace`: Splits the text on whitespace. This tokenization is case-sensitive.<br/>- `field`: Indexes the entire property value as a single token after trimming whitespace.<br/>- `trigram`: Splits the property into rolling trigrams (three-character sequences).<br/>- `gse`: Uses the `gse` tokenizer, suitable for Chinese language text. [See `gse` docs](https://pkg.go.dev/github.com/go-ego/gse#section-readme).<br/>- `kagome_ja`: Uses the `Kagome` tokenizer with a Japanese (IPA) dictionary. [See `kagome` docs](https://github.com/ikawaha/kagome).<br/>- `kagome_kr`: Uses the `Kagome` tokenizer with a Korean dictionary. [See `kagome` docs](https://github.com/ikawaha/kagome).<br/><br/>See [Reference: Tokenization](https://docs.weaviate.io/weaviate/config-refs/collections#tokenization) for details.
One ofwordlowercasewhitespacefieldtrigramgsekagome_krkagome_jagse_ch
nestedPropertiesarray<object>9 fields
The properties of the nested object(s). Applies to object and object[] data types.
disableDuplicatedReferencesboolean
If set to false, allows multiple references to the same target object within this property. Setting it to true will enforce uniqueness of references within this property. By default, this is set to true.
Default true
textAnalyzerobject3 fields
Text analysis options for a property. These settings are immutable after the property is created. Applies only to text and text[] data types that use an inverted index (searchable or filterable).