private static boolean needLowerCase(ImmutableSDField field) {
        return ( field.doesIndexing() && field.getMatching().getCase() != Case.CASED) ||
               field.doesLowerCasing() ||
               ((field.doesAttributing() || (field.getAttribute() != null)) &&
                isAnyChildString(field.getDataType())
                && field.getMatching().getCase().equals(Case.UNCASED));
    }
Per-index commands which should be applied to queries prior to searching

@author bratseth
config-model/src/main/java/com/yahoo/schema/derived/IndexInfo.java