@Override
    public int hashCode() {
        return Objects.hash(name, type, isAttribute, isIndex, aliases);
    }
Returns whether this field is an index, i.e. does indexing: index.
container-search/src/main/java/com/yahoo/search/schema/Field.java