Implemented NOT and OR in Solr. Refactored query builder to use string instead of SolrQuery.