Skip to content

Document search-metadata frontmatter key - #6788

Draft
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-08-31-fern-ai-fe3932-72e70676
Draft

Document search-metadata frontmatter key#6788
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-08-31-fern-ai-fe3932-72e70676

Conversation

@fern-api

@fern-api fern-api Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Added a "Custom search metadata" section to the Search configuration page, placed after "How search works" and its subsections and before "How results are ranked". It explains how to attach search-metadata key-value pairs in page frontmatter, shows single- and multi-value YAML examples, covers using the resulting attributes as Algolia facets and filters (including InstantSearch), and notes in a callout that the values are indexed but not shown in Fern's built-in search UI. Also added a "Search metadata" subsection at the end of the Page settings frontmatter reference with a <ParamField> for search-metadata, a frontmatter example, and a link to the new search page section.

```

<Note>
`search-metadata` values are indexed in Algolia but are **not** displayed in Fern's built-in search UI. They are intended for use in custom Algolia integrations. To surface them as visible filters in your own search experience, use Algolia's InstantSearch widgets or API directly. See [Integrating with Algolia](#integrating-with-algolia) for how to obtain your credentials.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] <Microsoft.Contractions> reported by reviewdog 🐶
Use 'they're' instead of 'They are'.

Suggested change
`search-metadata` values are indexed in Algolia but are **not** displayed in Fern's built-in search UI. They are intended for use in custom Algolia integrations. To surface them as visible filters in your own search experience, use Algolia's InstantSearch widgets or API directly. See [Integrating with Algolia](#integrating-with-algolia) for how to obtain your credentials.
`search-metadata` values are indexed in Algolia but are **not** displayed in Fern's built-in search UI. they're intended for use in custom Algolia integrations. To surface them as visible filters in your own search experience, use Algolia's InstantSearch widgets or API directly. See [Integrating with Algolia](#integrating-with-algolia) for how to obtain your credentials.

@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants