Customers who sign up for a Standard or Enterprise plan on or after August 18, 2025 cannot create pod-based indexes. Instead, create serverless indexes, and consider using dedicated read nodes for large workloads (millions of records or more, and moderate or high query rates).
Create a pod index
To create a pod index, use thecreate_index
operation as follows:
- Provide a
name
for the index. - Specify the
dimension
andmetric
of the vectors you’ll store in the index. This should match the dimension and metric supported by your embedding model. - Set
spec.environment
to the environment where the index should be deployed. For Python, you also need to import theServerlessSpec
class. - Set
spec.pod_type
to the pod type and size that you want.