x1
:
example-index
with 128 dimensions from a collection named example-collection
.
x1
. After index creation, you can increase the pod size for an index.
Increasing the pod size of your index does not result in downtime. Reads and writes continue uninterrupted during the scaling process. Currently, you cannot reduce the pod size of your indexes. Your number of replicas and your total number of pods remain the same, but each pod changes size. Resizing completes in about 10 minutes.
To learn more about pod sizes, see Indexes.
pod_type
parameter, separated by a period (.).
Projects in the gcp-starter
environment do not use pods.
Example
The following example assumes that example-index
has size x1
and changes the size to x2
.
status
field in the results contains the key-value pair "state":"ScalingUp"
or "state":"ScalingDown"
during the resizing process and the key-value pair "state":"Ready"
after the process is complete.
The index fullness metric provided by describe_index_stats may be inaccurate until the resizing process is complete.
Example
The following example uses describe_index
to get the index status of the index example-index
. The status
field contains the key-value pair "state":"ScalingUp"
, indicating that the resizing process is still ongoing.
gcp-starter
environment do not support replicas.
Example
The following example uses the configure_index operation to set the number of replicas for the index example-index
to 4.
metadata_config
parameter. Projects on the gcp-starter
environment do not support the metadata_config
parameter.
Example
metadata_config
parameter is a JSON object containing the names of the metadata fields to index.
metadata_config
object, Pinecone only indexes the metadata fields present in that object: any metadata fields absent from the metadata_config
object are not indexed.
When a metadata field is indexed, you can filter your queries using that metadata field; if a metadata field is not indexed, metadata filtering ignores that field.
genre
metadata field. Queries against this index that filter for the genre
metadata field may return results; queries that filter for other metadata fields behave as though those fields do not exist.