public void setIndexSettings(com.yahoo.schema.Index index) {
            if (type.equals(Index.Type.TEXT)) {
                prefix = index.isPrefix();
                interleavedFeatures = index.useInterleavedFeatures();
            }
        }
Representation of an index field with name and data type.
config-model/src/main/java/com/yahoo/schema/derived/IndexSchema.java