Class FacetBucket
A bucket in a facet is the basic unit of operation. A bucket can comprise either a single value OR a contiguous range of values, depending on the type of the field bucketed. FacetBucket is currently used only for returning the response object.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class FacetBucket : IDirectResponseSchema
Properties
Count
Number of results that match the bucket value. Counts are only returned for searches when count accuracy is ensured. Can be empty.
Declaration
[JsonProperty("count")]
public virtual int? Count { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Percentage
Percent of results that match the bucket value. The returned value is between (0-100], and is rounded down to an integer if fractional. If the value is not explicitly returned, it represents a percentage value that rounds to 0. Percentages are returned for all searches, but are an estimate. Because percentages are always returned, you should render percentages instead of counts.
Declaration
[JsonProperty("percentage")]
public virtual int? Percentage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
Value
Declaration
[JsonProperty("value")]
public virtual Value Value { get; set; }
Property Value
| Type | Description |
|---|---|
| Value |