search-go
Installation
SKILL.md
Couchbase Search — Go
Prerequisites — Index must exist before querying
Create an FTS index before running text or vector queries. Use the templates as a starting point:
- FTS index: templates/fts-index-basic.json
- Vector index: templates/vector-index.json
See shared/server/search-concepts.md for setup instructions.
Full-Text Search
import (
"github.com/couchbase/gocb/v2"
"github.com/couchbase/gocb/v2/search"
)