public function setSearch(SearchInterface $search)
    {
        if (null !== $this->search) {
            $this->search->free();
        }
        $this->search = $search;
        $this->rewind();
    }