createUpdate(); // add the delete query and a commit command to the update query $update->addDeleteQuery('name:testdoc*'); $update->addCommit(); // 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();