public function createFacet($field, $values = null, $operator = Query::OP_OR, $parameterName = null, $isPostFilter = false)
    {
        return $this->aggregations[] = (new TermFacet($field, $operator, $parameterName, $isPostFilter))->setSelectedValues($values);
    }