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 change the pod size of an existing index, use the configure_index operation and append the new size to the pod_type
parameter, separated by a period (.).
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.
example-index
to 4.
metadata_config
parameter.
The value for the metadata_config
parameter is a JSON object containing the names of the metadata fields to index.
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.