Get a Search Index Definition from the Web Console

  • how-to
Use the Couchbase Server Web Console to copy and paste a JSON Search index definition for use in the REST API or another cluster.
You cannot export a Search index definition as a downloadable file. You can only copy the Search index definition from an existing index.

Prerequisites

Procedure

To copy a Search index definition from the Server Web Console:

  1. Go to Search.

  2. Click the name of the Search index definition you want to copy.

  3. Expand Show index definition JSON.

  4. Click Copy to Clipboard.

When you create a Search index with the Server Web Console, you can also click copy to clipboard on the Index Definition Preview to copy the Search index definition.

Next Steps

You can paste the copied definition into a new .json file to import it into a new cluster, or use the definition with the Search REST API.

To import your Search index definition into a new Couchbase Server cluster through the Web Console, see Import a Search Index Definition with the Web Console.

To import your Search index into a Couchbase Capella cluster, see Import a Search Index Definition with the Capella UI.