magibney commented on code in PR #828:
URL: https://github.com/apache/solr/pull/828#discussion_r862155172


##########
solr/core/src/test/org/apache/solr/search/QueryEqualityTest.java:
##########
@@ -1362,6 +1366,15 @@ protected void assertQueryEquals(
     }
   }
 
+  private static FunctionQuery unwrapFQValueSource(FunctionQuery q) {
+    ValueSource vs = q.getValueSource();
+    if (vs instanceof WrappedFieldValueSource) {
+      return new FunctionQuery(((WrappedFieldValueSource) vs).unwrap());

Review Comment:
   I'm not sure (this part of the code is more than 2 years old!). It's a good 
point though -- I'll try removing this check, see how things go, and report 
back.



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