} catch (IOException e) {
// ignore
}
if (!buffer.hasAttribute(TermAttribute.class)) {
return new NoTokenFoundQueryNode();
}
TermAttribute termAtt = (TermAttribute) buffer
.getAttribute(TermAttribute.class);
if (numTokens == 0) {
return new NoTokenFoundQueryNode();
} else if (numTokens == 1) {
String term = null;
try {
boolean hasNext;