Example php application using apache solr