AI Search path filtering for website and R2 data sources
AI Search now supports path filtering with include and exclude rules for website and R2 data sources, allowing you to control what content gets indexed using micromatch patterns. This improves search relevance and enables splitting a single data source across multiple specialized search instances.
AI Search now includes path filtering for both website and R2 data sources. You can now control which content gets indexed by defining include and exclude rules for paths.
By controlling what gets indexed, you can improve the relevance and quality of your search results. You can also use path filtering to split a single data source across multiple AI Search instances for specialized search experiences.
Path filtering uses micromatch ↗ patterns, so you can use * to match within a directory and ** to match across directories.
| Use case | Include | Exclude |
|---|---|---|
| Index docs but skip drafts | **/docs/** |
**/docs/drafts/** |
| Keep admin pages out of results | — | **/admin/** |
| Index only English content | **/en/** |
— |
Configure path filters when creating a new instance or update them anytime from Settings. Check out path filtering to learn more.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.