docs: private void setBooleanQueryMaxClauseCount() {
        if (!maxBooleanClausesWasSet) {
           maxBooleanClausesWasSet = true;
           String maxClauseCountProp = SecurityActions.getSystemProperty(MAX_BOOLEAN_CLAUSES_SYS_PROP);
           if (maxClauseCountProp != null) {
              int maxClauseCount;
              try {
                 maxClauseCount = Integer.parseInt(maxClauseCountProp);
              } catch (NumberFormatException e) {
                 log.failedToParseSystemProperty(MAX_BOOLEAN_CLAUSES_SYS_PROP, e);
                 throw e;
              }
              int currentMaxClauseCount = BooleanQuery.getMaxClauseCount();
              if (maxClauseCount > currentMaxClauseCount) {
                 log.settingBooleanQueryMaxClauseCount(MAX_BOOLEAN_CLAUSES_SYS_PROP, maxClauseCount);
                 BooleanQuery.setMaxClauseCount(maxClauseCount);
              } else {
                 log.ignoringBooleanQueryMaxClauseCount(MAX_BOOLEAN_CLAUSES_SYS_PROP, maxClauseCount, currentMaxClauseCount);
              }
           }
        }
     }