fields.content to true, false, or an object with
max_characters_per_result to cap how much content each result returns.
The examples below cap content at 500 characters per result.
Sample response
In the response below,content is limited to 500 characters. This truncates the article contents mid-sentence.
Get content and snippets together
fields selects content and snippets independently, so request both, each
with its own ceiling, in the same call. See Get
snippets for the options snippets accepts.
Next steps
- Get snippets — Retrieve a document’s highest-scoring passages, and tune how many you get
- Process results — Working with
Documentfields client-side - Search API Reference — Full request and response specification