Run a Search
- concept
Run a Search query to search and return the contents of a Search index.
You must create a Search index before you can run a search with the Search Service. |
You can run a search against a Search index with:
-
A SQL++ query.
-
The Couchbase SDKs:
Run a Search with the Web Console
You can use the Web Console to test your Search index before you integrate search into your application.
You can enter a basic search query in the Web Console, or use a query object and other JSON properties for a more complex search.
For more information about how to run a search with the Web Console, see Run A Simple Search with the Web Console.
For more information about how to configure a Search index and search for geospatial data, see Run a Geospatial Search Query with the Web Console.
Run a Search with a SQL++ Query
Use the Query tab to search using natural-language search and SQL++ features in the same query.
For more information about how to use the Search Service from a SQL++ query, see Search Functions.
Run a Search with the REST API
You can also use the REST API, curl, and HTTP to run a search.
Use a Search request JSON payload to control how the Search Service returns results.
For more information about how to run a search with the REST API, see Run a Simple Search with the REST API and curl/HTTP.
For more information about how to configure a Search index and search for geospatial data, see Run a Geospatial Search Query with the REST API and curl/HTTP.