ScoringConfig class
Scoring configurations for a source while processing a Search or Suggest request.
Constructors
-
ScoringConfig({Input<
bool> ? disableFreshness, Input<bool> ? disablePersonalization}) -
Creates a new ScoringConfig.
disableFreshnessWhether 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.disablePersonalizationWhether to personalize the results. By default, personal signals will be used to boost results.const -
ScoringConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
disableFreshness
→ Input<
bool> ? -
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.
final
-
disablePersonalization
→ Input<
bool> ? -
Whether to personalize the results. By default, personal signals will be used to boost results.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited