alessandrobenedetti commented on code in PR #3316: URL: https://github.com/apache/solr/pull/3316#discussion_r2047340978
########## solr/core/src/java/org/apache/solr/search/join/BlockJoinParentQParser.java: ########## @@ -78,10 +93,127 @@ protected Query noClausesQuery() throws SyntaxError { return new BitSetProducerQuery(getBitSetProducer(parseParentFilter())); } - protected Query createQuery(final Query parentList, Query query, String scoreMode) + protected Query createQuery(final Query allParents, BooleanQuery childrenQuery, String scoreMode) throws SyntaxError { - return new AllParentsAware( - query, getBitSetProducer(parentList), ScoreModeParser.parse(scoreMode), parentList); + try { + List<BooleanClause> childrenClauses = childrenQuery.clauses(); + if (isByteKnnQuery(childrenClauses)) { + BitSetProducer allParentsBitSet = getBitSetProducer(allParents); Review Comment: agreed! Coming in the next commit -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org