From 3321cf1f16644c6ac13a2ce2682afe14b59e1e43 Mon Sep 17 00:00:00 2001
From: sjrl <10526848+sjrl@users.noreply.github.com>
Date: Thu, 24 Sep 2026 07:05:39 +0000
Subject: [PATCH] Sync Haystack API reference on Docusaurus
---
docs-website/reference/haystack-api/rankers_api.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs-website/reference/haystack-api/rankers_api.md b/docs-website/reference/haystack-api/rankers_api.md
index 7d70ff7d20b..b21ce6d6fb3 100644
--- a/docs-website/reference/haystack-api/rankers_api.md
+++ b/docs-website/reference/haystack-api/rankers_api.md
@@ -332,7 +332,7 @@ Creates an instance of MetaFieldRanker.
Use the 'linear_score' mode only with Retrievers or Rankers that return a score in range [0,1].
- **sort_order** (Literal['ascending', 'descending']) – Whether to sort the meta field by ascending or descending order.
Possible values are `descending` (default) and `ascending`.
-- **missing_meta** (Literal['drop', 'top', 'bottom']) – What to do with documents that are missing the sorting metadata field.
+- **missing_meta** (Literal['drop', 'top', 'bottom']) – What to do with documents that are missing the sorting metadata field or whose value for it is `None`.
Possible values are:
- 'drop' will drop the documents entirely.
- 'top' will place the documents at the top of the metadata-sorted list
@@ -392,7 +392,7 @@ if a score is present.
- **sort_order** (Literal['ascending', 'descending'] | None) – Whether to sort the meta field by ascending or descending order.
Possible values are `descending` (default) and `ascending`.
If not provided, the sort_order provided at initialization time is used.
-- **missing_meta** (Literal['drop', 'top', 'bottom'] | None) – What to do with documents that are missing the sorting metadata field.
+- **missing_meta** (Literal['drop', 'top', 'bottom'] | None) – What to do with documents that are missing the sorting metadata field or whose value for it is `None`.
Possible values are:
- 'drop' will drop the documents entirely.
- 'top' will place the documents at the top of the metadata-sorted list