Import a Search Index Definition with the Web Console

  • how-to
    +
    Use the Couchbase Server Web Console to import a JSON Search index definition or Search index alias.

    Prerequisites

    • You have the Search Service enabled on a node in your database. For more information about how to deploy a new node and Services on your database, see Manage Nodes and Clusters.

    • You have a bucket with scopes and collections in your database. For more information about how to create a bucket, see Create a Bucket.

    • Your user account has the Search Admin role for the bucket where you want to create the index.

    • You have logged in to the Couchbase Server Web Console.

    Procedure

    To import a Search index definition or Search alias with the Couchbase Server Web Console:

    1. Go to Search.

    2. Do one of the following:

      1. To import a Search index definition, click Add Index.

      2. To import a Search index alias definition, click + Add Alias.

    3. Click Import.

    4. In the Import Index window, paste the JSON definition of your Search index or index alias.

    5. Click Import.

    6. (Optional) Make any changes to your Search index or index alias settings.

    7. Click Create Index or Create Index Alias.

    Next Steps

    For more information about the settings you can change for your imported Search index, see Customize a Search Index with the Web Console.

    To run a search with your Search index or index alias, see Run A Simple Search with the Web Console or Run a Simple Search with the REST API and curl/HTTP.