query = "(&(|(modifyTimeStamp>"+arg+")(createTimeStamp>"+arg+"))"+query.replaceAll("\\*\\*", "*")+")";
query = "(&(|(modifyTimeStamp>="+arg+")(createTimeStamp>="+arg+"))"+query.replaceAll("\\*\\*", "*")+")";
    private SearchGalResult searchZimbraWithNamedFilter(        Domain d,        String filterName,        String n,        int maxResults,        String token)    throws ServiceException {        String queryExpr = getFilterDef(filterName);        String query = null;        if (queryExpr != null) {            if (token != null) n = "";                Map<String, String> vars = new HashMap<String, String>();            vars.put("s", n);            query = LdapProvisioning.expandStr(queryExpr, vars);            if (token != null) {                if (token.equals(""))                    query = query.replaceAll("\\*\\*", "*");                else {                    String arg = LdapUtil.escapeSearchFilterArg(token);                    //query = "(&(modifyTimeStamp>="+arg+")"+query.replaceAll("\\*\\*", "*")+")";                    query = "(&(|(modifyTimeStamp>"+arg+")(createTimeStamp>"+arg+"))"+query.replaceAll("\\*\\*", "*")+")";                }            }        }        return searchZimbraWithQuery(d, query, maxResults, token);    }