SourceCrowdingConfigResponse class

Set search results crowding limits. Crowding is a situation in which multiple results from the same source or host "crowd out" other results, diminishing the quality of search for users. To foster better search quality and source diversity in search results, you can set a condition to reduce repetitive results by source.

Constructors

SourceCrowdingConfigResponse({required Input<int> numResults, required Input<int> numSuggestions})
Creates a new SourceCrowdingConfigResponse. numResults Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100. numSuggestions Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.
const
SourceCrowdingConfigResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
numResults → Input<int>
Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted. Value specified must not be negative. A default value is used if this value is equal to 0. To disable crowding, set the value greater than 100.
final
numSuggestions → Input<int>
Maximum number of suggestions allowed from a source. No limits will be set on results if this value is less than or equal to 0.
final
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