@Override
    public boolean equals(Object o) {
        if ( ! (o instanceof Field other)) return false;
        if ( ! this.name.equals(other.name)) return false;
        if ( this.isAttribute != other.isAttribute) return false;
        if ( this.isIndex != other.isIndex) return false;
        if ( ! this.aliases.equals(other.aliases)) return false;
        return true;
    }
Returns whether this field is an index, i.e. does indexing: index.
container-search/src/main/java/com/yahoo/search/schema/Field.java