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

FieldStats

import type { FieldStats } from "https://aws-api.deno.dev/v0.3/services/cloudsearchdomain.ts?docs=full";

The statistics for a field calculated in the request.

interface FieldStats {
count?: number | null;
max?: string | null;
mean?: string | null;
min?: string | null;
missing?: number | null;
stddev?: number | null;
sum?: number | null;
sumOfSquares?: number | null;
}

§Properties

§
count?: number | null
[src]

The number of documents that contain a value in the specified field in the result set.

§
max?: string | null
[src]

The maximum value found in the specified field in the result set.

If the field is numeric (int, int-array, double, or double-array), max is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, max is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.

§
mean?: string | null
[src]

The average of the values found in the specified field in the result set.

If the field is numeric (int, int-array, double, or double-array), mean is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, mean is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.

§
min?: string | null
[src]

The minimum value found in the specified field in the result set.

If the field is numeric (int, int-array, double, or double-array), min is the string representation of a double-precision 64-bit floating point value. If the field is date or date-array, min is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.

§
missing?: number | null
[src]

The number of documents that do not contain a value in the specified field in the result set.

§
stddev?: number | null
[src]

The standard deviation of the values in the specified field in the result set.

§
sum?: number | null
[src]

The sum of the field values across the documents in the result set. null for date fields.

§
sumOfSquares?: number | null
[src]

The sum of all field values in the result set squared.