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:
-
Go to Search.
-
Do one of the following:
-
To import a Search index definition, click Add Index.
-
To import a Search index alias definition, click + Add Alias.
-
-
Click Import.
-
In the Import Index window, paste the JSON definition of your Search index or index alias.
-
Click Import.
-
(Optional) Make any changes to your Search index or index alias settings.
For more information, see Customize a Search Index with the Web Console or Create a Search Index Alias with the Web Console.
-
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.