epugh commented on code in PR #4139:
URL: https://github.com/apache/solr/pull/4139#discussion_r2812326562


##########
solr/core/src/java/org/apache/solr/search/vector/KnnQParser.java:
##########
@@ -133,10 +133,11 @@ public Query parse() throws SyntaxError {
     final Integer filteredSearchThreshold = 
localParams.getInt(FILTERED_SEARCH_THRESHOLD);
 
     // check for parent diversification logic...
-    final String parentsFilterQuery = localParams.get(PARENTS_PRE_FILTER);
+    final String[] parentsFilterQueries = 
localParams.getParams(PARENTS_PRE_FILTER);
     final String allParentsQuery = localParams.get(CHILDREN_OF);
 
-    boolean isDiversifyingChildrenKnnQuery = null != parentsFilterQuery || 
null != allParentsQuery;

Review Comment:
   did you run `gw tidy`?   Not sure why the wrapping 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