Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec

Specification for crowding. Crowding improves the diversity of search results by limiting the number of results that share the same field value. For example, crowding on the color field with a max_count of 3 and mode DROP_CROWDED_RESULTS will return at most 3 results with the same color across all pages.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Field

The field to use for crowding. Documents can be crowded by a field in the Document object. Crowding field is case sensitive.

Declaration
[JsonProperty("field")]
public virtual string Field { get; set; }
Property Value
Type Description
string

MaxCount

The maximum number of documents to keep per value of the field. Once there are at least max_count previous results which contain the same value for the given field (according to the order specified in order_by), later results with the same value are "crowded away". If not specified, the default value is 1.

Declaration
[JsonProperty("maxCount")]
public virtual int? MaxCount { get; set; }
Property Value
Type Description
int?

Mode

Mode to use for documents that are crowded away.

Declaration
[JsonProperty("mode")]
public virtual string Mode { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX