Databricks SDK for JavaScript
    Preparing search index...
    interface CreateVectorIndexRequest {
        endpointName?: string;
        indexSpec?:
            | {
                $case: "directAccessIndexSpec";
                directAccessIndexSpec: DirectAccessVectorIndexSpec;
            }
            | {
                $case: "deltaSyncIndexSpec";
                deltaSyncIndexSpec: DeltaSyncVectorIndexSpecRequest;
            };
        indexSubtype?: IndexSubtype;
        indexType?: VectorIndexType;
        name?: string;
        primaryKey?: string;
    }
    Index

    Properties

    endpointName?: string

    Name of the endpoint to be used for serving the index

    indexSpec?:
        | {
            $case: "directAccessIndexSpec";
            directAccessIndexSpec: DirectAccessVectorIndexSpec;
        }
        | {
            $case: "deltaSyncIndexSpec";
            deltaSyncIndexSpec: DeltaSyncVectorIndexSpecRequest;
        }

    Type Declaration

    indexSubtype?: IndexSubtype

    The subtype of the index. Use HYBRID or FULL_TEXT. VECTOR is not supported.

    indexType?: VectorIndexType
    name?: string

    Name of the index

    primaryKey?: string

    Primary key of the index