private AndSegmentItem createAndSegment(BlockItem current) {
        var composite = new AndSegmentItem(current.stringValue(), true, true);
        if (current instanceof SegmentItem segment) {
            composite.shouldFoldIntoWand(segment.shouldFoldIntoWand());
        }
        return composite;
    }
Replaces query terms with their stems

@author Mathias Lidal
@author bratseth
@author Steinar Knutsen
container-search/src/main/java/com/yahoo/prelude/querytransform/StemmingSearcher.java