code: @Override
     int removeDocument(Term idTerm) throws IOException
     {
        int num = super.removeDocument(idTerm);
        if (num > 0 && listener != null)
        {
           listener.documentDeleted(idTerm);
        }
        return num;
     }
docs: {@inheritDoc}