list_search_indexes
List Couchbase Search (FTS) indexes, optionally filtered by bucket and scope, to inspect available full-text indexes before requesting an index definition.
Instructions
List Search (FTS) indexes, optionally filtered by bucket and scope.
Filtering behavior:
No filters: lists cluster-level ("legacy") Search indexes only — the original, pre-scoped FTS index model, defined at the cluster level.
bucket_name only: lists scope-level (scoped) Search indexes across every scope in that bucket.
bucket_name and scope_name: lists scope-level Search indexes in that one scope only.
scope_name without bucket_name is invalid — returns an error entry explaining that bucket_name is required.
Each entry contains: name, uuid, source_name, source_type, idx_type, bucket, scope. bucket/scope are None for cluster-level (legacy) entries. This is a summary view — to get one index's full definition (mappings, analyzers, plan params), call get_search_index_definition with that entry's name and its own bucket/scope values (both, for a scoped entry; neither, when they're None). Don't reuse this call's filters: listing by bucket_name alone spans several scopes, and get_search_index_definition rejects a bucket without a scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope_name | No | ||
| bucket_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |