﻿# You.com highlights and full text serve different evidence budgets

Choose You.com highlights or full-page extraction by the downstream reading task, and budget excerpts without losing their parent URLs.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-you-search-highlights-fulltext/
Language: en

## Begin with the reading task

A support assistant locating the paragraph about account deletion needs a different input from an indexer archiving the entire policy. Treat those as separate retrieval jobs. Query-focused passages can help the assistant answer quickly, while ingestion needs enough surrounding structure to preserve definitions, exceptions, and section relationships.

## Parse the selected mode

You.com documents mutually exclusive `highlights` and `full_page` extraction modes. Highlights populate `contents.highlights`; full-page extraction populates requested Markdown or HTML fields. Build the adapter around that selected shape instead of assuming every result contains a universal text property. See [page content extraction](https://you.com/docs/guides/search/retrieve-page-content).

## Budget across results

The `extraction.highlights.total_max_tokens` setting covers highlights across the response. It does not reserve that amount for each result. A change in result count therefore changes how much passage context may be available per candidate. Keep both controls in the experiment record and count the final assembled model input separately.

Suppose a policy exception lives below the matching paragraph. A smaller highlight budget might retain the general rule while dropping the exception. Mark the answer incomplete until a targeted page read resolves that dependency; increasing answer length cannot restore text the model never received.

## Keep passage ownership

Store each highlight with its parent URL and result metadata. The [Search reference](https://you.com/docs/api-reference/search/v1-search) shows that nesting explicitly. Several excerpts from the same page should remain associated with that page, rather than becoming apparently independent endorsements. This also lets the interface expand context around a selected citation later.

## Escalate to the known page

Once the relevant URL is known, the [Contents API](https://you.com/docs/guides/contents) provides the direct extraction path. Use it when the answer requires a full definition, adjacent table, or excluded category. Check the returned content before replacing the shorter evidence record; a failed extraction should leave a visible unresolved dependency.

The local guides to [structural chunk boundaries](/journal/rag-chunking-structure-token-boundaries/) and [clean webpage text](/journal/webpage-clean-text-rag-trafilatura/) explain the next processing stage. Evaluate the complete path using questions whose answers deliberately cross a paragraph boundary, so the test measures whether the chosen mode preserves necessary context.
