private void indexForum(int forumId) throws Exception {
    int[] sonIds = fsc.getForumSonsIds(forumId);
    for (int i = 0; i < sonIds.length; i++) {
      indexForum(sonIds[i]);
    }
    if (forumId != 0) {
      fsc.indexForum(forumId);
    }

    Message[] messages = fsc.getMessagesList(forumId);
    for (int i = 0; i < messages.length; i++) {
      indexMessageNoRecursive(messages[i].getId());
    }
  }
 private void indexMessageNoRecursive(int messageId) throws Exception {
   fsc.indexMessage(messageId);
 }