epugh commented on code in PR #1210:
URL: https://github.com/apache/solr/pull/1210#discussion_r1038471290
##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -297,6 +297,9 @@ && getZkController().getOverseer() != null
public static final long INITIAL_CORE_LOAD_COMPLETE = 0x4L;
private volatile long status = 0L;
+ public static final boolean IS_V2_ENABLED =
+ !"true".equals(System.getProperty("disable.v2.api", "false"));
Review Comment:
is this really how we do these system properties in Solr? Just sort of
funny looking starting with `!"true" ;-)
--
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]