cpoerschke commented on code in PR #2632:
URL: https://github.com/apache/solr/pull/2632#discussion_r1932717320


##########
solr/core/src/java/org/apache/solr/schema/CurrencyFieldType.java:
##########
@@ -387,7 +385,8 @@ private Query getRangeQueryInternal(
         (p1 != null) ? p1.getCurrencyCode() : (p2 != null) ? 
p2.getCurrencyCode() : defaultCurrency;
 
     // ValueSourceRangeFilter doesn't check exists(), so we have to
-    final Query docsWithValues = new 
DocValuesFieldExistsQuery(getAmountField(field).getName());
+    SchemaField amountField = getAmountField(field);

Review Comment:
   minor
   ```suggestion
       final SchemaField amountField = getAmountField(field);
   ```



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