Extracting Solr::Collection#search from Query