code: public void clean() throws BackupException
     {
        LOG.info("Start to clean lucene indexes of the workspace '"+workspaceName+"'");
        try
        {
           final File indexDir = getIndexDirectory();
  
           SecurityHelper.doPrivilegedIOExceptionAction(new PrivilegedExceptionAction<Void>()
           {
              public Void run() throws IOException
              {
                 DirectoryHelper.removeDirectory(indexDir);
  
                 return null;
              }
           });
        }
        catch (IOException e)
        {
           throw new BackupException(e);
        }
        catch (RepositoryConfigurationException e)
        {
           throw new BackupException(e);
        }
     }
docs: {@inheritDoc}}