public void addIndex(Index index) {
        indices.put(index.getName(), index);
    }
Adds an explicitly defined index to this search definition

@param index the index to add
config-model/src/main/java/com/yahoo/schema/Schema.java