@Override
    public void setIndexName(String index) {
        super.setIndexName(index);
        for (Iterator<Item> i = getItemIterator(); i.hasNext();) {
            IndexedItem word = (IndexedItem) i.next();
            word.setIndexName(index);
        }
    }
Creates a phrase containing the given words
container-search/src/main/java/com/yahoo/prelude/query/PhraseItem.java