Skip to main content

From scratch

1

Create the index

Call Create an index. In the request body, in the spec.serverless.read_capacity object, set the following fields:
To learn how to determine the number of shards and replicas your index requires, see Calculate the size of your index.
This example creates an index with two shards and one replica:
The response includes two status fields:
When creating a dedicated read nodes index, status.state transitions to Ready as soon as the index is ready for reads and writes.However, spec.serverless.read_capacity.status.state remains Migrating until the index scales to its full read capacity, at which point it transitions to Ready.
2

Add your data

After the index is created, upsert or import your data.
To upsert and search with text instead of vectors, you can configure your index to use a hosted embedding model. Call Configure an index and specify the embed object in the request body.

From a backup

1

Restore the backup

Restore the backup to a new on-demand index with the same data as the original.
2

Delete extra namespaces

If the restored index has multiple namespaces, delete all of them except the one you want to keep. Dedicated read nodes support only one namespace.
3

Migrate to dedicated read nodes

Convert the restored on-demand index by following Migrate to dedicated read nodes.