diff --git a/docs/administration/projects.md b/docs/administration/projects.md index e009c54..483e39a 100644 --- a/docs/administration/projects.md +++ b/docs/administration/projects.md @@ -133,6 +133,22 @@ Configure filters that allow users to narrow search results by category in the s Filters appear in the search widget only when `hide-filters` is set to `false` on the widget and the user has started typing a query. For more details, see [Search filters](../customization/search-filters.md). +### Boost rules + +Boost rules let you assign search ranking adjustments to groups of pages based on URL patterns, without modifying individual pages. + +:::note +Boost rules are available on select plans. Contact support to enable this feature. +::: + +Each rule requires: + +- **Pattern**: A case-insensitive regular expression matched against full page URLs. For example, `/api/.*` matches all pages under `/api/`. +- **Boost score**: A number that adjusts the page's search ranking. Positive values (for example, `0.5`) increase ranking; negative values (for example, `-0.5`) decrease it. + +When multiple rules match a URL, the most specific rule (longest pattern) applies. Rule boost scores combine additively with any page-level `biel:boost_score` meta tag. + +For details on boost scoring, see [Boost search results](../customization/search.mdx#boost-search-results). ### LLM settings diff --git a/docs/customization/search.mdx b/docs/customization/search.mdx index ac5bcf5..7f7f89f 100644 --- a/docs/customization/search.mdx +++ b/docs/customization/search.mdx @@ -61,6 +61,8 @@ Add the following meta tag to the `` of the page: For Docusaurus, Sphinx, and other documentation systems, see [Metadata by platform](#metadata-by-platform). +You can also configure boost rules in **Settings > Boost rules** in the [Biel.ai dashboard](https://app.biel.ai) to apply boost scores to URL patterns without modifying page HTML. Rule scores combine additively with any page-level `biel:boost_score` meta tag. For details, see [Boost rules](../administration/projects.md#boost-rules). + ### Metadata by platform