code: public static void tearDownExample(
      String host, int port, String user, String password, Authentication authType)
      throws ResourceNotFoundException, ForbiddenUserException, FailedRequestException {
      DatabaseClient client = DatabaseClientFactory.newClient(host, port, user, password, authType);
  
      XMLDocumentManager docMgr = client.newXMLDocumentManager();
  
      for (String filename: filenames) {
        docMgr.delete("/example/"+filename);
      }
  
      QueryOptionsManager optionsMgr = client.newServerConfigManager().newQueryOptionsManager();
  
      optionsMgr.deleteOptions(OPTIONS_NAME);
  
      client.release();
    }
docs: clean up by deleting the documents and query options used in the example query