@Override
    public boolean existsIndex(String name) {
        if (indices.get(name) != null) return true;
        return name.equals(getName()) && doesIndexing();
    }
Returns an index if this field has one (implicitly or
explicitly) targeting the given name.
config-model/src/main/java/com/yahoo/schema/document/SDField.java