code: public void setMaxModificationsBeforeCommit(String value) {
  
          try {
              setMaxModificationsBeforeCommit(Integer.parseInt(value));
          } catch (Exception e) {
              LOG.error(
                  Messages.get().getBundle().key(
                      Messages.LOG_PARSE_MAXCOMMIT_FAILED_2,
                      value,
                      new Integer(DEFAULT_MAX_MODIFICATIONS_BEFORE_COMMIT)),
                  e);
              setMaxModificationsBeforeCommit(DEFAULT_MAX_MODIFICATIONS_BEFORE_COMMIT);
          }
      }
docs: Sets the maximum number of modifications before a commit in the search index is triggered as a string.<p>
  
  @param value the maximum number of modifications to set