Metadata Boosts
- Rank by your own metadata, not just filter by it: v3 Query accepts an optional
boostarray. Each clause retrieves chunks matching one of yourcustom_metadatakeys and multiplies their retrieval score by aweightbetween0.2and5.0. Use it when a chunk is the right answer but does not share wording with the query: a reviewer marked it, a curated tag applies, or your application already cited it. Send noboostand retrieval is unchanged. - Soft by default, guaranteed when you ask: with reranking on, boosts decide which chunks the reranker considers and the reranker still decides the final order. Set
reserveon a clause to guarantee its best matches a place on the page. - Every boost explains itself: each clause is echoed with
matched,in_pool, andon_pagecounts; boosted results carry aboostrecord with the multiplier and the rank they held beforehand, and reportmetadatainmatch_sources. See Advanced Search & Relations.