filter.
Use metrics when you want one value (or stats object), not grouped buckets.
Available Operators
Input Format
Every metric operator takes an object with at least afield property:
field value must be a string pointing to a FAST field in your schema.
Behavior Notes
- Metric operators require a
field. - The field must be
FASTin your schema. - Metric operators do not support nested
$aggs. - For many metric operators,
missinglets you provide a fallback value for documents where the field does not exist.