convert one solr query to 2 solr query