} catch (final IOException e) {
// ignore
}
if (!buffer.hasAttribute(CharTermAttribute.class)) {
return new NoTokenFoundQueryNode();
}
final CharTermAttribute termAtt = buffer.getAttribute(CharTermAttribute.class);
if (numTokens == 0) {
return new NoTokenFoundQueryNode();
} else if (numTokens != 1) {
// phrase query
final TokenizedPhraseQueryNode pq = new TokenizedPhraseQueryNode();
for (int i = 0; i < numTokens; i++) {