private boolean shouldReport(PipesResult result) {
        if (includeStatus.size() > 0) {
            if (includeStatus.contains(result.getStatus().name())) {
                return true;
            }
            return false;
        }
        if (excludeStatus.size() > 0 && excludeStatus.contains(result.getStatus().name())) {
            return false;
        }
        return true;
    }
As of the 2.5.0 release, this is ALPHA version.  There may be breaking changes
in the future.
tika-pipes/tika-pipes-reporters/tika-pipes-reporter-opensearch/src/main/java/org/apache/tika/pipes/reporters/opensearch/OpenSearchPipesReporter.java