diff --git a/docs-website/reference/haystack-api/rankers_api.md b/docs-website/reference/haystack-api/rankers_api.md index 7d70ff7d20..b21ce6d6fb 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