private static boolean isTheWord(String word, Item item) {
        if (!(item instanceof WordItem)) {
            return false;
        }
        return word.equalsIgnoreCase(((WordItem) item).getRawWord()); // TODO: Why not search for getWord w.o lowercasing?
    }
Returns whether the item is a specific word item
container-search/src/main/java/com/yahoo/prelude/query/parser/AdvancedParser.java