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

    Type Alias CreateIndexReadCapacity

    CreateIndexReadCapacity:
        | { mode?: "OnDemand" }
        | {
            manual: { replicas: number; shards: number };
            mode?: "Dedicated";
            nodeType: DedicatedNodeType;
        }

    Type Declaration

    • { mode?: "OnDemand" }
      • Optionalmode?: "OnDemand"

        Omit read capacity or use mode OnDemand.

    • {
          manual: { replicas: number; shards: number };
          mode?: "Dedicated";
          nodeType: DedicatedNodeType;
      }
      • manual: { replicas: number; shards: number }

        Use dedicated.manual.

        • replicas: number

          Number of replicas; zero disables reads.

        • shards: number

          Positive number of shards.

      • Optionalmode?: "Dedicated"

        Dedicated mode is inferred from nodeType and manual.

      • nodeType: DedicatedNodeType

        Use dedicated.nodeType.

    Use the nested ReadCapacity configuration.