Working with the libraries to create queries for solr.