Skip to content

fix: drop default "content" domain from search#147

Merged
Rassl merged 1 commit intomainfrom
feature/fix-search-domains
Apr 29, 2026
Merged

fix: drop default "content" domain from search#147
Rassl merged 1 commit intomainfrom
feature/fix-search-domains

Conversation

@Rassl
Copy link
Copy Markdown
Contributor

@Rassl Rassl commented Apr 29, 2026

The default DEFAULT_SEARCH_DOMAINS = ["content"] caused every search to fail with 400 INVALID_DOMAIN on namespaces that have no domains configured (verified via /v2/schema/domains returning empty list).

Default to no domain filtering; callers can still opt in via searchNodes(q, { domains: [...] }).

The default `DEFAULT_SEARCH_DOMAINS = ["content"]` caused every search
to fail with 400 INVALID_DOMAIN on namespaces that have no domains
configured (verified via /v2/schema/domains returning empty list).

Default to no domain filtering; callers can still opt in via
`searchNodes(q, { domains: [...] })`.
@Rassl Rassl merged commit 90dea84 into main Apr 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant