ercsonusharma commented on code in PR #4645:
URL: https://github.com/apache/solr/pull/4645#discussion_r3630784703
##########
solr/core/src/java/org/apache/solr/schema/numericrange/AbstractNumericRangeField.java:
##########
@@ -353,7 +453,10 @@ public Query getFieldQuery(QParser parser, SchemaField
field, String externalVal
+ ")");
}
- return newContainsQuery(field.getName(), singleBoundRange);
+ // A single bound is the degenerate range [p,p]; "contains p" is
equivalent to
Review Comment:
Both works the same way and are equivalent for degenerate range. I have
reverted to `newContainsQuery` to maintain consistency.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]