@PipelineProperty(
            description = "Perform a soft commit after every batch so that docs are available for searching " +
                    "immediately (if using NRT replicas).",
            defaultValue = "true",
            displayPriority = 4)
    public void setSoftCommit(final boolean softCommit) {
        this.softCommit = softCommit;
    }
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