Add a namespace to a Zoekt node
One step with GitLab. We can help you get access.
Get something done
Add a namespace to a Zoekt node
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Code search API lets you add a namespace to a Zoekt node in a single step (PUT /api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I assign a namespace to a specific Zoekt node for indexing?
- Can I enable searching on a namespace that's already indexed on a node?
Say it to your AI assistant
- Add namespace {namespace_id} to Zoekt node {node_id} for indexing.
- Enable searching on namespace {namespace_id} on node {node_id}.
For your developer
PUT /api/v4/admin/zoekt/shards/{node_id}/indexed_namespaces/{namespace_id} in GitLab REST Code search API. Full spec on APIs.io.