Initial start of making the query method in search api solr more readable