protected Element addConversationHit(ZimbraSoapContext zc, Element response, ConversationHit ch, EmailElementCache eecache, SearchParams params)
protected Element addConversationHit(ZimbraSoapContext zsc, Element response, ConversationHit ch, EmailElementCache eecache, SearchParams params)
    protected Element addConversationHit(ZimbraSoapContext zc, Element response, ConversationHit ch, EmailElementCache eecache, SearchParams params)    throws ServiceException {        Conversation conv = ch.getConversation();        MessageHit mh = ch.getFirstMessageHit();        Element c = ToXML.encodeConversationSummary(response, zc, conv, mh == null ? null : mh.getMessage(), eecache, params.getWantRecipients());        if (ch.getScore() != 0)            c.addAttribute(MailService.A_SCORE, ch.getScore());        Collection s = ch.getMessageHits();        if (s != null) {            for (Iterator mit = s.iterator(); mit.hasNext(); ) {                mh = (MessageHit) mit.next();                Message msg = mh.getMessage();                Element e = c.addElement(MailService.E_MSG);                e.addAttribute(MailService.A_ID, msg.getId());            }        }        return c;    }