sandeshkr419 commented on code in PR #15050: URL: https://github.com/apache/lucene/pull/15050#discussion_r2277730690
########## lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/PointRangeQueryBuilder.java: ########## @@ -75,32 +76,33 @@ public Query getQuery(Element e) throws ParserException { String field = DOMUtils.getAttributeWithInheritanceOrFail(e, "fieldName"); final String lowerTerm = DOMUtils.getAttribute(e, "lowerTerm", null); final String upperTerm = DOMUtils.getAttribute(e, "upperTerm", null); + String type = DOMUtils.getAttribute(e, "type", "int").toLowerCase(Locale.getDefault()); Review Comment: https://github.com/apache/lucene/pull/15076 ########## lucene/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/PointRangeQueryBuilder.java: ########## @@ -75,32 +76,33 @@ public Query getQuery(Element e) throws ParserException { String field = DOMUtils.getAttributeWithInheritanceOrFail(e, "fieldName"); final String lowerTerm = DOMUtils.getAttribute(e, "lowerTerm", null); final String upperTerm = DOMUtils.getAttribute(e, "upperTerm", null); + String type = DOMUtils.getAttribute(e, "type", "int").toLowerCase(Locale.getDefault()); Review Comment: https://github.com/apache/lucene/pull/15076 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org