class Google::Apis::CloudsearchV1::ScoringConfig

Scoring configurations for a source while processing a Search or Suggest request.

Attributes

disable_freshness[RW]

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]

disable_freshness?[RW]

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]

disable_personalization[RW]

Whether to personalize the results. By default, personal signals will be used to boost results. Corresponds to the JSON property `disablePersonalization` @return [Boolean]

disable_personalization?[RW]

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

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 3898
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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