Table of Contents

Class CollectionDefinition

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Options for a collection's behavior

public class CollectionDefinition
Inheritance
CollectionDefinition
Inherited Members

Properties

DefaultId

Settings for generating ids

[JsonPropertyName("defaultId")]
public DefaultIdOptions DefaultId { get; set; }

Property Value

DefaultIdOptions

Indexing

Overrides for document indexing

[JsonPropertyName("indexing")]
public IndexingOptions Indexing { get; set; }

Property Value

IndexingOptions

Lexical

Lexical analysis options for the collection

[JsonPropertyName("lexical")]
public LexicalOptions Lexical { get; set; }

Property Value

LexicalOptions

Rerank

Reranking options for the collection

[JsonPropertyName("rerank")]
public RerankOptions Rerank { get; set; }

Property Value

RerankOptions

Vector

Vector specifications for the collection

[JsonPropertyName("vector")]
public VectorOptions Vector { get; set; }

Property Value

VectorOptions