Only faceted search will be performed. The product search will be
disabled.
When in this mode, one or both of [SearchRequest.facet_spec][] and
[SearchRequest.dynamic_facet_spec][google.cloud.retail.v2.SearchRequest.dynamic_facet_spec]
should be set. Otherwise, an INVALID_ARGUMENT error is returned. Only
[SearchResponse.Facet] will be returned. [SearchResponse.SearchResult]
will not be returned.
ProductSearchOnly
Only product search will be performed. The faceted search will be
disabled.
Only [SearchResponse.SearchResult] will be returned.
[SearchResponse.Facet] will not be returned, even if
[SearchRequest.facet_specs][google.cloud.retail.v2.SearchRequest.facet_specs]
or
[SearchRequest.dynamic_facet_spec][google.cloud.retail.v2.SearchRequest.dynamic_facet_spec]
is set.
Unspecified
Default value. In this case both product search and faceted search will
be performed. Both [SearchResponse.SearchResult] and
[SearchResponse.Facet] will be 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 webpage documents the `SearchMode` enum within the `Google.Cloud.Retail.V2` namespace, detailing its different search functionalities."],["The latest version documented is 2.12.0, while the oldest documented version is 1.0.0, providing a historical view of the `SearchMode` across different releases."],["`SearchMode` supports three distinct settings: `FacetedSearchOnly`, `ProductSearchOnly`, and `Unspecified`, each dictating the type of search performed and the data returned in the `SearchResponse`."],["`FacetedSearchOnly` mode disables product searching and only returns `SearchResponse.Facet` data, while `ProductSearchOnly` disables faceted search and only returns `SearchResponse.SearchResult` data."],["The default `Unspecified` mode performs both product and faceted searches, returning both `SearchResponse.SearchResult` and `SearchResponse.Facet` data."]]],[]]