Class SearchParams (2.1.0)

SearchParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Search parameters.

Attributes

Name Description
filter str
Optional. The filter string to restrict search results. The syntax of the filter string is the same as SearchRequest.filter.
canonical_filter str
Optional. The canonical filter string to restrict search results. The syntax of the canonical filter string is the same as SearchRequest.canonical_filter.
sort_by str
Optional. The sort string to specify the sorting of search results. The syntax of the sort string is the same as [SearchRequest.sort][].
boost_spec google.cloud.retail_v2alpha.types.SearchRequest.BoostSpec
Optional. The boost spec to specify the boosting of search results. The syntax of the boost spec is the same as SearchRequest.boost_spec.