src/Versatile/Search/BuilderSearch.php
public function paginate($keys=[], $perPage = null)
    {
        $this->buildIfNotBuilded();
        $keys = $keys == [] ? $this->keys() : $keys;

        if (!$keys) {
            return $this->builder->paginate($perPage);
        }

        return $this->builder->withColumns($keys)->paginate($perPage);

    }
public function paginate($keys=[], $perPage = null)
    {
        $this->buildIfNotBuilded();
        $keys = $keys == [] ? $this->keys() : $keys;

        if (!$keys) {
            return $this->builder->paginate($perPage);
        }

        return $this->builder->withColumns($keys)->paginate($perPage);

    }
Get the paginated result

@param array $keys (optional)
@param $perPage (optional)
@return \Traversable