public Item toItem(String label, String term) {
        var newItem = new WordItem(term, label, true);
        newItem.setWeight(item.getWeight());
        return newItem;
    }
Returns a new item representing this match
container-search/src/main/java/com/yahoo/prelude/semantics/engine/Match.java