risdenk commented on code in PR #1146:
URL: https://github.com/apache/solr/pull/1146#discussion_r1008415732
##########
solr/core/src/java/org/apache/solr/search/WrappedQuery.java:
##########
@@ -26,20 +26,26 @@
/** A simple query that wraps another query and implements ExtendedQuery. */
public final class WrappedQuery extends ExtendedQueryBase {
- private Query q;
+ private final Query q;
public WrappedQuery(Query q) {
this.q = q;
}
- public Query getWrappedQuery() {
- return q;
+ public WrappedQuery(Query q, boolean cache) {
+ super(cache);
+ this.q = q;
}
- public void setWrappedQuery(Query q) {
Review Comment:
Public API change
--
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]