set up gsearch and solr logic