Or query in solr. The SolrQuery class represents the query that we want .