Package version:

A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.

interface FacetResult {
    count?: number;
    [property: string]: any;
}

Indexable

  • [property: string]: any

    Describes unknown properties. The value of an unknown property can be of "any" type.

Properties

Properties

count?: number

The approximate count of documents falling within the bucket described by this facet. NOTE: This property will not be serialized. It can only be populated by the server.