@Override
    public boolean equals(Object object) {
        if (!super.equals(object)) return false;

        IndexedItem other = (IndexedItem) object; // Ensured by superclass
        return this.index.equals(other.getIndexName());
    }
Appends the index prefix if necessary
container-search/src/main/java/com/yahoo/prelude/query/SimpleIndexedItem.java