private Item forcedPhrase() {
        Item firstWord = null;
        PhraseItem phrase = null;

        while (tokens.hasNext()) {
            Token token = tokens.next();

            if (token.kind != Token.Kind.WORD && token.kind != Token.Kind.NUMBER) {
                continue;
            }
            // Note, this depends on segment never creating AndItems when quoted
            // (the second argument) is true.
            Item newWord = segment(null, token, true);

            if (firstWord == null) { // First pass
                firstWord = newWord;
            } else if (phrase == null) { // Second pass
                phrase = new PhraseItem();
                phrase.addItem(firstWord);
                phrase.addItem(newWord);
            } else { // Following passes
                phrase.addItem(newWord);
            }
        }
        if (phrase != null) {
            return phrase;
        } else {
            return firstWord;
        }
    }
Ignores everything but words and numbers

@return a phrase item if several words/numbers was found, a word item if only one was found
container-search/src/main/java/com/yahoo/prelude/query/parser/PhraseParser.java