Skip to main content
Industry Insight · Zhihe Growth Research Center

Cloudflare AI Search Adds File Summaries: How Should Brands Prevent Keyword-Weight Drift?

Cloudflare AI Search can generate summaries, topics and keywords during indexing. This guide covers context, keyword weighting, full reindexing, failure recovery and cost gates for brand knowledge bases.

Direct answer

On November 17, 2026, Cloudflare added file summaries to AI Search. For text documents that produce at least three chunks under the current chunking settings, indexing can call a large language model to generate a summary, topics and keywords. Summaries and keywords may enter the item's `context` metadata, while topics enter each chunk's context header, so the feature can change keyword weighting and the context sent to the generation model. It is not a free relevance switch: it is off by default, changing it triggers a full reindex, `indexing_options` updates replace the whole object, Workers AI calls are billed separately, and a file may still be indexed without a summary when generation fails.

Facts and background

On November 17, 2026, Cloudflare announced that AI Search can generate a short summary, topics and keywords while indexing a file. The capability applies to retrieval inside a Cloudflare AI Search instance. It is not a change to crawling, indexing, ranking or citation rules in Google, Bing or ChatGPT. For global brands, the governed objects are retrieval behavior, cost, index versions and failure states in an owned knowledge base.

File summaries are off by default. A team can enable them in the dashboard or set indexing_options.file_summary to true when creating or updating an instance. Changing the setting triggers a full reindex. The indexing_options object is replaced in full on each update rather than merged, so omitted values return to defaults and can cause unintended configuration changes or another reindex.

Summaries, topics and keywords enter different layers

Generated outputDestinationPotential effectOfficial boundary
Short summaryItem context metadataAdds file-level background when a retrieved document is sent to generationWritten only when metadata limits permit and no custom context already exists
KeywordsStored with the summary in contextHelps generation interpret document scopeExisting custom context is preserved
TopicsAdded to every eligible chunk context headerRepeated terms can receive more weight in keyword retrievalAdded only when chunk space permits and never replaces chunk content

Cloudflare passes context to the generation model with each retrieved document and says it can add up to about 1,000 characters per result. That raises generation input-token use. Topics can repeat across multiple chunks from the same file, so Cloudflare explicitly warns that they increase topic weight in keyword search and recommends representative retrieval testing before production enablement.

Not every indexed file receives a summary

File summaries apply to text documents and converted text formats such as PDF only when the file produces at least three chunks at the instance's current chunk size. Smaller files are still indexed but do not call the summary model. Images are not covered by this feature. A smaller chunk size makes more documents eligible, but it also produces more chunks, increases index scale and can increase the number of billed summary calls.

Eligibility stateIndex outcomeEvidence to retain
Text file with at least three chunksSummary, topics and keywords are attemptedFile version, chunk size, chunk count, setting and processing time
Fewer than three chunksIndexed without a summary-model callMark ineligible rather than failed
ImageNo file summaryTrack image processing, OCR or multimodal embedding separately
Model call failureMay still be indexed without a summaryFailure class, retry eligibility and next file or reindex version

Custom context is preserved, but the model may still run

If R2 custom metadata or upload metadata already supplies context, Cloudflare keeps that value instead of replacing it with the generated summary and keywords. The system still calls the model to generate topics, so billing and keyword-weight changes may still occur. “Custom context preserved,” “topics inserted” and “model cost incurred” must be tracked as separate states.

Automatic summaries therefore do not replace content governance. Deterministic fields such as product identity, version, market, language, evidence date and access class should still come from brand-controlled metadata or visible content. Generated topics can assist retrieval but should not be the sole source for compliance facts, specifications, authorization or market eligibility.

Generation is best effort, not transactional

Cloudflare makes one summary attempt per file version. Temporary failures such as timeouts, rate limits or model-capacity errors can be retried when the file is processed again at least 24 hours later, for example after a reindex. Other failures generally wait until the content changes. AI Gateway guardrails, spend limits, a missing gateway or exhausted Workers AI usage can leave files indexed without summaries, and fixing the setting does not by itself prove that every old file has been backfilled.

An “index job succeeded” status therefore cannot mean “every eligible file has a summary.” Operational views should separate indexed with summary, indexed without summary because ineligible, indexed without summary because generation failed, waiting for retry, and modified but awaiting sync. Without these states, teams cannot distinguish content effects from chunking, summary coverage or infrastructure failures.

Cost spans generation, context and reindexing

Cost layerTriggerControl
Summary modelOne call for every new or modified eligible fileCount eligible files, update frequency and retries first
Generation inputRetrieved results carry additional contextMonitor result count, context length and input tokens
Full reindexToggle file_summary or overwrite index options incorrectlyRead the instance and send the complete indexing_options object
Index latencyOne model call is added per eligible fileUse a controlled window and record start, completion and searchable time

File-summary calls are not included in the AI Search ingestion allowance. They are billed as Workers AI usage and run through the AI Gateway connected to the instance or the default gateway. New and modified files are summarized, while unchanged files reuse their summaries in later syncs. A summary-model change can also cause regeneration the next time files are processed. Preserve model, gateway, billing window and file versions before attributing cost changes to corpus size.

Run a retrieval control before broad enablement

Copy a representative corpus into an isolated instance or namespace. Hold the embedding model, chunk size, overlap, keyword tokenizer, hybrid-search settings and result count constant; change only the file-summary setting. The test set should cover exact product names, long-tail questions, multilingual synonyms, versions, negations, limitations and easily confused product families.

Acceptance dimensionComparisonFailure signal
RecallWhether the target file enters the top NBroad topic repetition displaces precise evidence
RankingTarget chunk rank and keyword or vector scoresSummary topics outweigh model numbers, versions or limitations
Answer accuracyCorrect version, market and limitation evidenceA file-level summary generalizes a local exception
CoverageEligible files with and without summariesIndex success hides widespread generation failure
Cost and latencyCalls, rebuild time, generation tokens and gateway recordsRetrieval gains do not justify recurring cost or freshness delay

If the feature helps broad questions but harms precise model, market or compliance queries, fix titles, document structure, metadata, chunking and keyword tokenization before adding more summaries. File summaries are an optional retrieval-processing layer, not a replacement for content quality, evidence architecture or access control.

Launch and rollback require a versioned contract

Before production change, preserve the full instance configuration, file inventory, job status, representative-query baseline and cost baseline. Every update must send complete indexing_options and record summary, OCR, tokenizer, chunking and effective-time values. After the full reindex, validate coverage and controlled retrieval before routing user traffic to the new index.

Disabling the feature also triggers a reindex, so rollback is not instantaneous. Low-risk deployments should build and validate an independent instance, namespace or application route while keeping the previous index available. Public-site crawling and external AI citation must still be measured separately; internal Cloudflare AI Search retrieval cannot establish how an external platform treats the same pages.

Business impact

First, multilingual knowledge bases gain a file-level context layer. Summaries and topics may help broad questions find the right material, but topic repetition can amplify generic concepts and suppress exact models, versions or limitations. Second, content governance and retrieval settings must share version control. Chunk size affects retrieval, cost and whether a file reaches the three-chunk eligibility threshold; a seemingly partial `indexing_options` update can also reset existing values and trigger a rebuild. Third, index success no longer proves complete processing. Some files may have no summary because they are ineligible or because generation failed, so summary coverage, failure reason and retry conditions need explicit observability. Fourth, cost is distributed across summary calls, rebuild latency and generation context. Without a control instance, fixed query set and AI Gateway records, teams cannot determine whether relevance gains justify recurring spend.

Zhihe Growth assessment

Zhihe Growth considers file summaries most useful when a long file spans many chunks and retrieval lacks whole-document context. They should not replace deterministic product identity, version, language, market, access or evidence-date fields. Because generated topics participate in keyword weighting, the launch objective should be better retrieval of correct evidence, not a higher summary-coverage number by itself. Global teams should use a five-step pattern: configuration snapshot, isolated rebuild, fixed-query comparison, coverage diagnosis and routed launch. Multilingual tests must include branded and non-branded questions, model numbers, negations, stale documents and similar products, measuring both correct hits and the risk that wrong evidence moves upward. Cloudflare AI Search retrieval and public GEO outcomes must remain separate. The former can establish how an owned knowledge base behaves for a specific configuration and query set. It cannot establish that Google, Bing, ChatGPT or another external platform will crawl, index, cite or recommend the same page.

Recommended actions

  1. Export the full instance configuration, `indexing_options`, chunking, models, data source, sync interval and AI Gateway settings as an immutable version.
  2. Inventory file type, file version, chunk count and update rate; separate eligible files, sub-three-chunk files, images and conversion failures.
  3. Enable `file_summary` in an isolated instance or namespace while holding every other retrieval parameter constant.
  4. Build a fixed query set spanning brand terms, product models, multilingual synonyms, versions, limitations, negations and similar products.
  5. Compare top-N recall, chunk rank, answer evidence, wrong citations, summary coverage, indexing latency and Workers AI cost.
  6. Flag files with custom `context`; verify that it is preserved while testing whether generated topics still change keyword order.
  7. Track five states: summarized, ineligible, model failure, waiting for retry, and modified but awaiting sync.
  8. Read the current instance before every update and send the complete `indexing_options` object; reject partial production overwrites.
  9. Prepare rebuild windows, traffic switching and rollback for enablement, disablement and configuration mistakes; retain the prior index until acceptance passes.
  10. Report internal retrieval separately from public crawling, indexing, citation and business outcomes; do not label a summary toggle as external GEO growth.

Limitations

This article reflects Cloudflare AI Search changelog and documentation accessible on November 21, 2026. The file-summary announcement is dated November 17, 2026. Eligible formats, model selection, pricing, retries, metadata limits and configuration semantics may change; production work should reread the current instance and official documentation. File summaries apply only to text and converted-text formats that produce at least three chunks under the current chunking settings. Images do not use this feature. Generation is best effort and files may still be indexed when summarization fails. Existing custom `context` is preserved, but topic generation may still call the model and incur cost. Topics affect keyword weight, so relevance improvement cannot be assumed. Enabling or disabling `file_summary` triggers a full reindex, and `indexing_options` updates replace the entire object. This article does not promise retrieval quality, response speed, lower cost, public crawling, search-engine indexing, AI citations, traffic, leads, orders or revenue. Internal Cloudflare AI Search results do not replace independent measurement on Google, Bing, OpenAI or another external platform.

Sources