protected void appendIndexString(StringBuilder buffer) {
        if (!getIndexName().equals("")) {
            buffer.append(getIndexName());
            buffer.append(":");
        }
    }
Appends the index prefix if necessary
container-search/src/main/java/com/yahoo/prelude/query/CompositeIndexedItem.java