Couchbase icon

Couchbase

Couchbase node to insert, update, retrieve, and delete data from a Couchbase database using KV, Query and Search services

Actions7

Search → Create Index

AI-generated

Summary

Upserts a search index definition into Couchbase using the provided JSON configuration.

Inputs

  • indexDefinition (required) — A JSON object defining the search index, including its type, source, fields, and settings, as per Couchbase Search documentation.

Output shape

a single record with a static message

The operation returns a fixed success message regardless of the input definition; errors from Couchbase are thrown as node errors.

Examples

Example 1: Create a full-text search index on a JSON field

Provide the indexDefinition JSON, e.g., { "type": "fulltext", "source": { "type": "gsl", "query": "SELECT * FROM default" }, "plan": { "name": "my-index", "params": { "indexName": "my-index" } } }

Links

Discussion