'track_total_hits' => true,
];
$data =
$this->client->
search( $arguments );
$data =
$data['hits'
]['hits'
];
$properties =
$this->
hydrateProperties($data,
$ids);
$actives =
$this->
getFilteredValues($criteria);
$criteriaPart =
$this->
createCollectionResult($properties,
$actives);
$result->
addFacet($criteriaPart);
} /**
* @param array[] $data
* @param int[] $optionIds
*
* @return Group[]
*/
private function hydrateProperties(array
$data, array
$optionIds): array
{