Pinecone TypeScript SDK - v9.0.0
    Preparing search index...

    Interface CreateIndexSchema

    The schema of a new index: a map of field names to their configurations.

    Field names must be unique, non-empty strings, and cannot use the reserved name _id. A schema containing only reserved _values or _sparse_values fields selects the vectors API and supports legacy vector operations.

    interface CreateIndexSchema {
        fields: { [fieldName: string]: CreateIndexSchemaField };
    }
    Index
    fields: { [fieldName: string]: CreateIndexSchemaField }

    Map of field names to their schema configurations.