Andrew Grande created NIFI-1980:
-----------------------------------

             Summary: Add 'commit within' value to PutSolrContentStream
                 Key: NIFI-1980
                 URL: https://issues.apache.org/jira/browse/NIFI-1980
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: 0.6.1
         Environment: Solr 6.0.1 in **standalone** mode (in a docker container).
            Reporter: Andrew Grande
            Priority: Minor


Here's a default docker image for Solr with some instructions to create a core: 
https://github.com/docker-solr/docker-solr

Have NiFi send to that Solr instance. Everything seems ok, but the number of 
documents in the core never increases, no commit happens. *Commit Within* must 
be configured (number of milliseconds) in case of a standalone Solr.

Often Solr server is configured with auto-commit, but apparently not this 
default docker image.

Proposal: update the processor to have a default value for Commit Within (e.g. 
match Solr's default of 15 seconds or less). Update its description to hint the 
user to remove the value in case they configure auto-commit in Solr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to