Example on how to set up Solr to index data and return search results via a PHP-based application