metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbende <>
Subject [GitHub] incubator-metron pull request: Metron 86 - SolrWriter
Date Tue, 05 Apr 2016 14:54:57 GMT
Github user bbende commented on a diff in the pull request:
    --- Diff: metron-streaming/Metron-Solr/src/main/java/org/apache/metron/writer/solr/
    @@ -65,7 +71,9 @@ public void write(String sourceType, Configurations configurations,
           UpdateResponse response = solr.add(document);
    -    solr.commit(getCollection(configurations));
    +    if (shouldCommit) {
    +      solr.commit(getCollection(configurations));
    +    }
    --- End diff --
    I think in solrconfig.xml the autoSoftCommit just needs to be set to something:
    If you can tolerate some amount of delay from when new documents are added to when they
are visible in a search, then maybe 60 seconds would be a good starting point? 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message