Couchbase · Schema

SearchIndexDefinition

Full Text Search index definition

AnalyticsApp ServicesBackupCapellaCloudDatabaseDatabase-as-a-ServiceEventingFull-Text SearchGatewayJSONMobileNoSQLReplicationSQL++SyncVector SearchXDCR

Properties

Name Type Description
name string Name of the search index
type string Type of the index
sourceName string Name of the source bucket
sourceType string Type of the data source
sourceUUID string UUID of the source bucket
planParams object Index partition and replication plan
params object Index configuration parameters
uuid string UUID of the index
View JSON Schema on GitHub

JSON Schema

couchbase-searchindexdefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchIndexDefinition",
  "title": "SearchIndexDefinition",
  "type": "object",
  "description": "Full Text Search index definition",
  "required": [
    "name",
    "type",
    "sourceName"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the search index"
    },
    "type": {
      "type": "string",
      "description": "Type of the index",
      "enum": [
        "fulltext-index",
        "fulltext-alias"
      ]
    },
    "sourceName": {
      "type": "string",
      "description": "Name of the source bucket"
    },
    "sourceType": {
      "type": "string",
      "description": "Type of the data source",
      "default": "couchbase"
    },
    "sourceUUID": {
      "type": "string",
      "description": "UUID of the source bucket"
    },
    "planParams": {
      "type": "object",
      "description": "Index partition and replication plan",
      "properties": {
        "maxPartitionsPerPIndex": {
          "type": "integer",
          "description": "Maximum partitions per index partition"
        },
        "numReplicas": {
          "type": "integer",
          "description": "Number of index replicas",
          "minimum": 0
        },
        "indexPartitions": {
          "type": "integer",
          "description": "Number of index partitions"
        }
      }
    },
    "params": {
      "type": "object",
      "description": "Index configuration parameters",
      "properties": {
        "mapping": {
          "type": "object",
          "description": "Type mapping configuration",
          "properties": {
            "default_mapping": {
              "type": "object",
              "description": "Default type mapping",
              "properties": {
                "enabled": {
                  "type": "boolean",
                  "description": "Whether the default mapping is enabled"
                },
                "dynamic": {
                  "type": "boolean",
                  "description": "Whether to dynamically index all fields"
                }
              }
            },
            "types": {
              "type": "object",
              "description": "Named type mappings",
              "additionalProperties": {
                "type": "object"
              }
            },
            "default_analyzer": {
              "type": "string",
              "description": "Default analyzer for the index"
            },
            "default_type": {
              "type": "string",
              "description": "Default type for documents"
            }
          }
        },
        "doc_config": {
          "type": "object",
          "description": "Document configuration",
          "properties": {
            "mode": {
              "type": "string",
              "description": "Document type identification mode",
              "enum": [
                "scope.collection.type_field",
                "scope.collection.docid_prefix",
                "scope.collection.docid_regexp",
                "type_field",
                "docid_prefix",
                "docid_regexp"
              ]
            }
          }
        },
        "store": {
          "type": "object",
          "description": "Store configuration",
          "properties": {
            "indexType": {
              "type": "string",
              "description": "Index storage type",
              "enum": [
                "scorch"
              ]
            }
          }
        }
      }
    },
    "uuid": {
      "type": "string",
      "description": "UUID of the index"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/couchbase-searchindexdefinition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.