mNumMessages.set(0);
    private void clearIndexInternal() throws IOException {        IndexWriter writer = null;        try {            if (ZimbraLog.rmgmt.isDebugEnabled()) ZimbraLog.rmgmt.debug("clearing index (" + mIndexPath + ") for " + this);            writer = new IndexWriter(mIndexPath, new StandardAnalyzer(), true);        } finally {            if (writer != null) {                writer.close();            }        }    }