Interface CreateIndexServerlessSpec

Configuration needed to deploy a serverless index.

interface CreateIndexServerlessSpec {
    cloud: string;
    readCapacity?: CreateIndexReadCapacity;
    region: string;
    schema?: MetadataSchema;
    sourceCollection?: string;
}

Properties

cloud: string

The public cloud where you would like your index hosted.

The read capacity configuration for the index. Defaults to OnDemand if not provided.

region: string

The region where you would like your index to be created.

Schema for the behavior of Pinecone's internal metadata index. By default, all metadata is indexed; when schema is present, only fields which are present in the fields object with a filterable: true are indexed. Note that filterable: false is not currently supported.

sourceCollection?: string

The name of the collection to be used as the source for the index. NOTE: Collections can only be created from pods-based indexes.