createUpdate(); // rollback any uncommitted changes on the Solr server $update->addRollback(); // this executes the query and returns the result $result = $client->update($update); echo 'Update query executed
'; echo 'Query status: ' . $result->getStatus(). '
'; echo 'Query time: ' . $result->getQueryTime(); htmlFooter();