Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FacetResult

import type { FacetResult } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Source specific facet response

interface FacetResult {
buckets?: FacetBucket[];
objectType?: string;
operatorName?: string;
sourceName?: string;
}

§Properties

§
buckets?: FacetBucket[]
[src]

FacetBuckets for values in response containing at least a single result with the corresponding filter.

§
objectType?: string
[src]

Object type for which facet results are returned. Can be empty.

§
operatorName?: string
[src]

The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions

§
sourceName?: string
[src]

Source name for which facet results are returned. Will not be empty.