@Override
    public boolean isAttribute() {
        if (schema == null || fieldNames.isEmpty()) return false;
        return randomFieldInThis().isAttribute();
    }
Returns whether this field or field set is attribute(s), i.e. does indexing: attribute.
container-search/src/main/java/com/yahoo/search/schema/FieldSet.java