private Item toTerm(Token token) {
        if (token.kind == WORD)
            return segment("", token, false);
        else if (token.kind == NUMBER)
            return new IntItem(token.image);
        else
            return null;
    }
Returns the item representing this token if it is searchable, and null otherwise
container-search/src/main/java/com/yahoo/prelude/query/parser/TokenizeParser.java