AI Search

cloudflareSearch indexcloudflare-ai-search

Managed retrieval pipeline that chunks, embeds and continuously indexes a data source for semantic and keyword search.

Provider
cloudflare
Category
Data
Also known as
AutoRAG
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
dataSource · component propertyenumr2 | website | built-in-storageno—inherited
geoScheme · advancedenumnone | s2 | h3 | geohash | quadtreenononeinherited
hybridSearch · component propertyboolean—notrueinherited
indexingenumsync | async | batchnoasync▸ batch
managedboolean—nofalse▸ true
rebuildCadenceHours · advancedinteger—no—▸ 6
replicasinteger—no—inherited
shardingStrategy · advancedenumnone | hash | geo | time | prefix-rangenononeinherited
structureenuminverted | trie | vector | geo-cellnoinverted▸ vector
syncIntervalHours · component propertyinteger—no6inherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

derived-store-without-cdc-or-rebuild

A search index is derived data and needs an asynchronous feed from a stream, change data capture or an indexing worker. Without one it is written inline on the request path, and it can never be rebuilt after it drifts.

  • — this does not hold:
  • — the node has at least one asynchronous incoming edge from a stream, change-data-capture or worker
Use it in a design
nodes:
  - { id: "ai-search", component: "cloudflare-ai-search" }
Other Search index products · 31
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# AI Search (formerly AutoRAG): managed retrieval pipeline that chunks, embeds and indexes
# a data source and answers semantic plus keyword queries ("AI Search overview").
# Scheduled sync jobs keep the index fresh ("Indexing": "runs a sync job every 6 hours").
schemaVersion: "1"
type: "component"
id: "cloudflare-ai-search"
kind: "search-index"
provider: "cloudflare"
docs: "https://developers.cloudflare.com/ai-search/configuration/indexing/"
aliases: ["AutoRAG"]
defaults:
  managed: true
  structure: "vector"
  indexing: "batch"
  rebuildCadenceHours: 6
properties:
  syncIntervalHours:
    type: "integer"
    default: 6
  dataSource:
    type: "enum"
    values: ["r2", "website", "built-in-storage"]
  hybridSearch:
    type: "boolean"
    default: true

The same page as markdown, for an agent: /catalogue/components/cloudflare-ai-search.md