Reference documentation and code samples for the Discovery Engine v1beta API enum SearchRequest.Types.RelevanceThreshold.
The relevance threshold of the search results. The higher relevance
threshold is, the higher relevant results are shown and the less number of
results are returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page details the `SearchRequest.Types.RelevanceThreshold` enum within the Discovery Engine v1beta API, specifically for version 1.0.0-beta17 and the latest 1.0.0-beta18."],["The enum defines different levels of relevance thresholds for search results, influencing both result quality and quantity."],["Available relevance levels include `High`, `Low`, `Lowest`, and `Medium`, along with an `Unspecified` default option."],["Higher relevance thresholds will show more relevant results while at the same time yielding fewer results."],["The `Unspecified` field in the enum will default the server behaviour to a threshold defined by Google."]]],[]]