@Override
    public boolean equals(Object object) {
        if (! (object instanceof QueryTerm)) return false;

        return this.term.equals(((QueryTerm)object).term);
    }
The degree to which this is exactly the term the user specified (1), or a stemmed form (closer to 0)
searchlib/src/main/java/com/yahoo/searchlib/ranking/features/fieldmatch/QueryTerm.java