private void checkCommand(String command) {
        for (SDField field : fields) {
            if (!field.hasQueryCommand(command)) {
                if (harmonizedCommands.contains(command)) {
                    deployLogger.logApplicationPackage(Level.WARNING, command + " must be added to all fields going to the same index (" + indexName + ")" +
                            ", adding to field " + field.getName());
                    field.addQueryCommand(command);
                } else {
                    deployLogger.logApplicationPackage(Level.WARNING, "All fields going to the same index should have the same query-commands. Field '" + field.getName() +
                            "' doesn't contain command '" + command+"'");
                }
            }
        }
    }
Check index-commands for each field, report and attempt to fix any
inconsistencies
config-model/src/main/java/com/yahoo/schema/processing/multifieldresolver/IndexCommandResolver.java