public void addFieldFilter(String fieldName, String pattern) {
        if (!fieldFilters.containsKey(fieldName)) {
            fieldFilters.put(fieldName, new LinkedList<String>());
        }
        fieldFilters.get(fieldName).add(pattern);
    }