dsmiley commented on code in PR #3418:
URL: https://github.com/apache/solr/pull/3418#discussion_r2596378463
##########
solr/core/src/java/org/apache/solr/handler/component/CombinedQuerySearchHandler.java:
##########
@@ -86,4 +51,13 @@ protected void postPrepareComponents(ResponseBuilder rb) {
crb.propagate();
}
}
+
+ /** Overrides the default list to include {@link CombinedQueryComponent}. */
+ @Override
+ protected List<String> getDefaultComponents() {
+ List<String> names = new ArrayList<>(super.getDefaultComponents());
+ String replaced = names.set(0, CombinedQueryComponent.COMPONENT_NAME);
+ assert replaced.equals(QueryComponent.COMPONENT_NAME);
Review Comment:
This is merely the *default* component list. It doesn't stop someone from
configuring a list in solrconfig.xml that is different.
--
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]