throw new QueryNodeParseException(new MessageImpl(QueryParserMessages.COULD_NOT_PARSE_NUMBER,
upperText, parser.getNumericType() + " parser"), e);
}
final CharSequence field = termRangeNode.getField();
final NodeNumericQueryNode lowerNode = new NodeNumericQueryNode(field, lowerNumber);
final NodeNumericQueryNode upperNode = new NodeNumericQueryNode(field, upperNumber);
final boolean lowerInclusive = termRangeNode.isLowerInclusive();
final boolean upperInclusive = termRangeNode.isUpperInclusive();
return new NodeNumericRangeQueryNode(lowerNode, upperNode, lowerInclusive, upperInclusive, na);