protected function applyOffset(AbstractSearch $search, $offset) { if ($offset > 0) { $search->getQuery()->skip($offset); } }