private static void moveChildren(CompositeItem from, ListIterator<Item> toIterator) {
        for (ListIterator<Item> i = from.getItemIterator(); i.hasNext(); )
            toIterator.add(i.next());
    }
Collapse the next item of this iterator into the given parent, if appropriate
container-search/src/main/java/com/yahoo/prelude/query/QueryCanonicalizer.java