class FieldFacet extends Facet

This class represents a field facet which holds the collected terms for one or more fields.


string $name The name of the facet.
int $missingCount Number of documents not containing any terms in the queried fields.
int $otherCount The number of terms which are not in the queried top list.
int $totalCount The total count of terms found.
array $entries An array of terms (key) and counts (value).