Class TableTextIndexDefinition

java.lang.Object
com.datastax.astra.client.tables.definition.indexes.TableIndexDefinition<TableTextIndexDefinitionOptions>
com.datastax.astra.client.tables.definition.indexes.TableTextIndexDefinition

public class TableTextIndexDefinition extends TableIndexDefinition<TableTextIndexDefinitionOptions>
Represents a definition for table vector indices, allowing configuration of vector-specific options such as similarity metrics and source models. This class provides a fluent interface for building vector index definitions.

Example usage:

 
 TableTextIndexDefinition vectorIndexDefinition = new TableTextIndexDefinition()
     .column("feature_vector")
     .options(new TableTextIndexDefinitionOptions());