Optional
class?: stringOptional
description?: stringDescription of the collection for metadata purposes.
Optional
invertedOptional
bm25?: { Optional
b?: numberFormat: float
Calibrates term-weight scaling based on the document length (default: 0.75).
Optional
k1?: numberFormat: float
Calibrates term-weight scaling based on the term frequency within a document (default: 1.2).
Optional
cleanupFormat: int
Asynchronous index clean up happens every n seconds
Optional
indexIndex each object with the null state (default: 'false').
Optional
indexIndex length of properties (default: 'false').
Optional
indexIndex each object by its internal timestamps (default: 'false').
Optional
stopwords?: { Optional
additions?: string[]Stopwords to be considered additionally (default: []). Can be any array of custom strings.
Optional
preset?: stringPre-existing list of common words by language (default: 'en'). Options: ['en', 'none'].
Optional
removals?: string[]Stopwords to be removed from consideration (default: []). Can be any array of custom strings.
Optional
moduleConfiguration specific to modules in a collection context.
Optional
multiOptional
autoExisting tenants should (not) be turned HOT implicitly when they are accessed and in another activity status (default: false).
Optional
autoNonexistent tenants should (not) be created implicitly (default: false).
Optional
enabled?: booleanWhether or not multi-tenancy is enabled for this class (default: false).
Optional
properties?: { Define properties of the collection.
Optional
replicationOptional
asyncEnable asynchronous replication (default: false).
Optional
deletionConflict resolution strategy for deleted objects.
Optional
factor?: numberNumber of times a class is replicated (default: 1).
Optional
shardingManage how the index should be sharded and distributed in the cluster
Optional
vectorConfigure named vectors. Either use this field or vectorizer
, vectorIndexType
, and vectorIndexConfig
fields. Available from v1.24.0
.
Optional
vectorVector-index config, that is specific to the type of index selected in vectorIndexType
Optional
vectorName of the vector index to use, eg. (HNSW)
Optional
vectorizer?: stringSpecify how the vectors for this class 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-contextionary'. If left empty, it will use the globally configured default which can itself either be 'none' or a specific module.
Description
Name of the class (a.k.a. 'collection') (required). Multiple words should be concatenated in CamelCase, e.g.
ArticleAuthor
.