[ https://issues.apache.org/jira/browse/CONNECTORS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038477#comment-13038477 ]
Karl Wright commented on CONNECTORS-202: ---------------------------------------- An explicit commit is transmitted at the end of every job, and when a job is aborted, but I agree that that is not ideal. Your suggestion seems like a reasonable thing to add - probably on a new output specification tab, "Solr Commits" or some such. Pretty straightforward to code as well. Would you be interested in submitting a patch? > SOLR connector suport for commitWithin > -------------------------------------- > > Key: CONNECTORS-202 > URL: https://issues.apache.org/jira/browse/CONNECTORS-202 > Project: ManifoldCF > Issue Type: Improvement > Components: Lucene/SOLR connector > Affects Versions: ManifoldCF 0.2 > Reporter: Jan Høydahl > Labels: commit > > The output connection must support commitWithin > (http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22add.22) > in addition to sending a commit() at the end of a job. > This allows for efficient handling of commits on the Solr side. > The parameter should ideally be configurable per job. In that way you could > say that for "Important job" commitWithin=10s while for "Big crawl job", > commitWithin=600s. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira