public function getContent($textquery, $parameters = [], &$pager = [], $whereparameters = [])
    {
        if ($this->legacyStorage !== null) {
            return $this->legacy()->getContent($textquery, $parameters, $pager, $whereparameters);
        } elseif ($this->queryService !== null) {
            return $this->queryService->getContent($textquery, array_merge($parameters, $whereparameters));
        }

        throw new \Exception('Legacy service nor Query service loaded');
    }