@Override
    public boolean equals(Object o) {
        if ( ! super.equals(o)) return false;
        var other = (WordItem)o;
        if ( this.words != other.words) return false;
        if ( this.stemmed != other.stemmed) return false;
        if ( this.fromSegmented != other.fromSegmented) return false;
        if ( this.segmentIndex != other.segmentIndex) return false;
        if ( ! Objects.equals(this.word, other.word)) return false;
        if ( this.lowercased != other.lowercased) return false;
        return true;
    }
Word items uses a empty heading instead of "WORD "
container-search/src/main/java/com/yahoo/prelude/query/WordItem.java