@PipelineProperty(
            description = "Commit indexed documents within the specified number of milliseconds.",
            defaultValue = "-1",
            displayPriority = 3)
    public void setCommitWithinMs(final int commitWithinMs) {
        if (commitWithinMs < 0) {
            this.commitWithinMs = -1;
        } else {
            this.commitWithinMs = commitWithinMs;
        }
    }
Sets the locator to use when reporting errors.

@param locator The locator to use.
stroom-search/stroom-search-solr/src/main/java/stroom/search/solr/indexing/SolrIndexingFilter.java