@Override
    public String stringValue() {
        return "*" + getWord() + "*";
    }
A word that matches substrings of words

@author banino
container-search/src/main/java/com/yahoo/prelude/query/SubstringItem.java