From 2986c214ba326c48e6048e2c98a7fd9d6702fa6a Mon Sep 17 00:00:00 2001 From: Quentin de Quelen Date: Fri, 25 Jul 2025 17:25:08 +0200 Subject: [PATCH 1/2] add more info about the rankingScoreThreshold to explain it's applied to all kind of searches --- reference/api/search.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/api/search.mdx b/reference/api/search.mdx index c5aeafa0ba..f22ee27eb7 100644 --- a/reference/api/search.mdx +++ b/reference/api/search.mdx @@ -1138,6 +1138,8 @@ The code sample below returns the `_rankingScoreDetail` when searching for `drag Excludes results below the specified ranking score. +The threshold applies to all search types including full-text search, semantic search, and hybrid search. This allows you to filter out low-quality matches regardless of the search method being used. + Excluded results do not count towards `estimatedTotalHits`, `totalHits`, and facet distribution. From da8671f4da1f86ecea803059c82c63c76d51a918 Mon Sep 17 00:00:00 2001 From: gui machiavelli Date: Mon, 28 Jul 2025 19:35:43 +0200 Subject: [PATCH 2/2] Update reference/api/search.mdx --- reference/api/search.mdx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reference/api/search.mdx b/reference/api/search.mdx index f22ee27eb7..5d14129b65 100644 --- a/reference/api/search.mdx +++ b/reference/api/search.mdx @@ -1136,9 +1136,7 @@ The code sample below returns the `_rankingScoreDetail` when searching for `drag **Expected value**: A number between `0.0` and `1.0`
**Default value**: `null` -Excludes results below the specified ranking score. - -The threshold applies to all search types including full-text search, semantic search, and hybrid search. This allows you to filter out low-quality matches regardless of the search method being used. +Excludes results below the specified ranking score. The threshold applies to all search types including full-text search, semantic search, and hybrid search. Excluded results do not count towards `estimatedTotalHits`, `totalHits`, and facet distribution.