gerlowskija commented on code in PR #4645:
URL: https://github.com/apache/solr/pull/4645#discussion_r3632894360


##########
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:
   Ok, good to know.  Were the implementations different at some point and then 
changed?



-- 
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]

Reply via email to