Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class DefaultFacetResult

The default facet result.

Inheritance
object
DefaultFacetResult
DateRangeFacetResult
NumericRangeFacetResult
TermFacetResult
Implements
IFacetResult
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Search
Assembly: Couchbase.NetClient.dll
Syntax
public class DefaultFacetResult : IFacetResult

Constructors

View Source

DefaultFacetResult()

Declaration
public DefaultFacetResult()

Properties

View Source

FacetResultType

Gets the type of the facet result.

Declaration
[JsonProperty("FacetResultType")]
[JsonPropertyName("FacetResultType")]
public virtual FacetResultType FacetResultType { get; }
Property Value
Type Description
FacetResultType

The type of the facet result.

View Source

Field

Gets the field used for the facet.

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

The field.

View Source

Missing

Gets the number of misses for the facet.

Declaration
[JsonProperty("missing")]
[JsonPropertyName("missing")]
public long Missing { get; set; }
Property Value
Type Description
long

The missing.

View Source

Name

Gets or sets the name of the result.

Declaration
[JsonProperty("name")]
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type Description
string

The name.

View Source

Other

Gets the number of others for the facet.

Declaration
[JsonProperty("other")]
[JsonPropertyName("other")]
public long Other { get; set; }
Property Value
Type Description
long

The other.

View Source

Total

Gets the total number of hits for the facet.

Declaration
[JsonProperty("total")]
[JsonPropertyName("total")]
public long Total { get; set; }
Property Value
Type Description
long

The total.

Implements

IFacetResult
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.