dsmiley commented on code in PR #4552:
URL: https://github.com/apache/solr/pull/4552#discussion_r3483118221


##########
solr/core/src/java/org/apache/solr/search/SolrQueryParser.java:
##########
@@ -24,4 +27,9 @@ public class SolrQueryParser extends QueryParser {
   public SolrQueryParser(QParser parser, String defaultField) {
     super(defaultField, parser);
   }
+
+  @Override
+  protected Query getBooleanQuery(List<BooleanClause> clauses) throws 
SyntaxError {
+    return QueryUtils.makeQueryable(super.getBooleanQuery(clauses));
+  }

Review Comment:
   wow... boy this was simple.



##########
solr/core/src/test/org/apache/solr/search/TestSolrQueryParser.java:
##########
@@ -1901,4 +1901,32 @@ public void testFieldExistsQueries() throws SyntaxError {
       }
     }
   }
+
+  @Test

Review Comment:
   I am not seeing here a pure negative query... you've put a MUST clause on 
each one.



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