implementing the query builder for solr
implementing the query builder for solr