SourceCrowdingConfig 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

SourceCrowdingConfig({int? numResults, int? numSuggestions})
SourceCrowdingConfig.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
numResults int?
Maximum number of results allowed from a datasource in a result page as long as results from other sources are not exhausted.
getter/setter pair
numSuggestions int?
Maximum number of suggestions allowed from a source.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited