class Google::Apis::CloudsearchV1::ScoringConfig
Scoring configurations for a source while processing a Search or Suggest request.
Attributes
Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI. Corresponds to the JSON property `disableFreshness` @return [Boolean]
Whether to use freshness as a ranking signal. By default, freshness is used as a ranking signal. Note that this setting is not available in the Admin UI. Corresponds to the JSON property `disableFreshness` @return [Boolean]
Whether to personalize the results. By default, personal signals will be used to boost results. Corresponds to the JSON property `disablePersonalization` @return [Boolean]
Whether to personalize the results. By default, personal signals will be used to boost results. Corresponds to the JSON property `disablePersonalization` @return [Boolean]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3898 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3903 def update!(**args) @disable_freshness = args[:disable_freshness] if args.key?(:disable_freshness) @disable_personalization = args[:disable_personalization] if args.key?(:disable_personalization) end