Override the Zoekt replica count for a namespace
One step with GitLab. We can help you get access.
Get something done
Override the Zoekt replica count for a namespace
with GitLab
Works with AI assistants
Use GitLab: its GitLab REST Code search API lets you override the Zoekt replica count for a namespace in a single step (PATCH /api/v4/admin/zoekt/namespaces/{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.
- Can I change how many copies of a namespace's index a Zoekt node keeps?
- What happens to a namespace's replication factor when I set it to null?
Say it to your AI assistant
- Set the Zoekt replica override for namespace {id} to {number_of_replicas_override}.
- Unset the Zoekt replication override on namespace {id}.
For your developer
PATCH /api/v4/admin/zoekt/namespaces/{id} in GitLab REST Code search API. Full spec on APIs.io.