private Val convertValue(final IndexField indexField, final String value) {
        try {
            return IndexFieldUtil.convertValue(indexField, value);
        } catch (final RuntimeException e) {
            log(Severity.ERROR, e.getMessage(), e);
        }
        return null;
    }
Sets the locator to use when reporting errors.

@param locator The locator to use.
stroom-index/stroom-index-impl/src/main/java/stroom/index/impl/IndexingFilter.java