Dela via


ValueFacetResult<T> Class

Definition

A single bucket of a simple or interval facet query result that reports the number of documents with a field falling within a particular interval or having a specific value.

public class ValueFacetResult<T>
type ValueFacetResult<'T> = class
Public Class ValueFacetResult(Of T)

Type Parameters

T

A type that matches the type of the field to which the facet was applied.

Inheritance
ValueFacetResult<T>

Constructors

ValueFacetResult<T>(Int64, T)

Creates a new instance of the ValueFacetResult class.

Properties

Count

Gets the approximate count of documents falling within the bucket described by this facet.

Value

Gets the value of the facet, or the inclusive lower bound if it's an interval facet.

Applies to