In this article
Structured domain-path filters define candidate eligibility; textual site operators may be relaxed and should not carry an undisclosed hard policy.
Define the allowed document branch
A reference assistant may accept a vendor’s current documentation while excluding its marketing blog and historical forum. Allowing the entire hostname would be broader than that requirement. Describe the permitted branch before building filters, including whether subdomains and nested paths are acceptable. Keep that policy separate from the user’s free-form technical question.
Use the documented matching forms
The Search reference describes hostname, path-prefix, and wildcard-subdomain entries in includeDomains and excludeDomains. Use those supported forms rather than inventing regular-expression syntax. Validate representative addresses against the intended rule locally, then inspect returned URLs to confirm how the provider applied the request to actual candidates.
Distinguish hard constraints from preference
The quickstart presents filters as hard constraints. Apply them when an outside result would be unusable. A preference for introductory explanations belongs to a different decision from excluding every nonapproved document. Keep an empty constrained result as a legitimate unresolved outcome rather than silently broadening the allowed branch.
For a migration guide, include cases from the current documentation path, a similarly named archived path, and a sibling subdomain. This reveals whether the rule matches the intended document family. A host that looks familiar can still serve a page outside the permitted scope.
Inspect textual restriction relaxation
Best practices documents RESTRICTIONS_RELAXED notices when textual site: operators or quoted phrases yield no matches and are removed. It says request-body filters still apply. Preserve these notices with the query so an explanation can distinguish relaxed text from the structured eligibility policy that remained enforced.
Test exclusion and acquisition handoffs
Apply the application’s source rule when selecting follow-up URLs too. A model should not introduce an outside address during a later page-read step merely because the original constrained search was sparse. Keep discovery and acquisition records connected so the final answer can show which approved branch supplied each supporting document.
The existing guides to filtering versus ranking and task contracts help specify the boundary. Review both positive and negative URL cases before comparing answer quality. This checks the actual allowed-source mechanism rather than relying on a model’s fluent assurance that it used official documentation.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.