case ZimbraQueryParser.MSGID:       return LuceneFields.L_H_MESSAGE_ID; case ZimbraQueryParser.ENVFROM:       return LuceneFields.L_H_X_ENV_FROM; case ZimbraQueryParser.ENVTO:         return LuceneFields.L_H_X_ENV_TO;
    private static String QueryTypeString(int qType) {        switch (qType) {            case ZimbraQueryParser.CONTENT:    return LuceneFields.L_CONTENT;            case ZimbraQueryParser.FROM:       return LuceneFields.L_H_FROM;            case ZimbraQueryParser.TO:         return LuceneFields.L_H_TO;            case ZimbraQueryParser.CC:         return LuceneFields.L_H_CC;            case ZimbraQueryParser.SUBJECT:    return LuceneFields.L_H_SUBJECT;            case ZimbraQueryParser.IN:         return "in";            case ZimbraQueryParser.HAS:        return "has";            case ZimbraQueryParser.FILENAME:   return LuceneFields.L_FILENAME;            case ZimbraQueryParser.TYPE:       return LuceneFields.L_MIMETYPE;            case ZimbraQueryParser.ATTACHMENT: return LuceneFields.L_ATTACHMENTS;            case ZimbraQueryParser.IS:         return "IS";            case ZimbraQueryParser.DATE:       return LuceneFields.L_DATE;            case ZimbraQueryParser.AFTER:      return "after";            case ZimbraQueryParser.BEFORE:     return "before";            case ZimbraQueryParser.SIZE:       return "SIZE";            case ZimbraQueryParser.BIGGER:     return "BIGGER";            case ZimbraQueryParser.SMALLER:    return "SMALLER";            case ZimbraQueryParser.TAG:        return "TAG";            case ZimbraQueryParser.MY:         return "MY";            case ZimbraQueryParser.MESSAGE:    return "MESSAGE";            case ZimbraQueryParser.CONV:       return "CONV";            case ZimbraQueryParser.CONV_COUNT: return "CONV-COUNT";            case ZimbraQueryParser.CONV_MINM:  return "CONV_MINM";            case ZimbraQueryParser.CONV_MAXM:  return "CONV_MAXM";            case ZimbraQueryParser.CONV_START: return "conv-start";            case ZimbraQueryParser.CONV_END:   return "conv-end";            case ZimbraQueryParser.AUTHOR:     return "author";            case ZimbraQueryParser.TITLE:      return "title";            case ZimbraQueryParser.KEYWORDS:   return "keywords";            case ZimbraQueryParser.COMPANY:    return "company";            case ZimbraQueryParser.METADATA:   return "metadata";            case ZimbraQueryParser.ITEM:       return "itemId";        }        return "UNKNOWN:(" + qType + ")";    }