You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudSearchDomain::Types::FieldStats

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The statistics for a field calculated in the request.

Instance Attribute Summary collapse

Instance Attribute Details

#countInteger

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

Returns:

  • (Integer)

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

#maxString

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.

Returns:

  • (String)

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

#meanString

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.

Returns:

  • (String)

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

#minString

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.

Returns:

  • (String)

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

#missingInteger

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

Returns:

  • (Integer)

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

#stddevFloat

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

Returns:

  • (Float)

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

#sumFloat

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

Returns:

  • (Float)

    The sum of the field values across the documents in the result set.

#sum_of_squaresFloat

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

Returns:

  • (Float)

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