[
https://issues.apache.org/jira/browse/CONNECTORS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038651#comment-13038651
]
Jan Høydahl commented on CONNECTORS-202:
----------------------------------------
I've created a SOLR patch to allow commitWtihin as a request parameter.
I guess this means that on the MCF side we could simply set a Name/Value pair
on the SolrOutputConnector or change from "/update/extract" to
"/update/extract?commitWithin=10000".
But probably for usability's sake it makes sense to state it as an explicit
param on the "Commits" tab below "Commit at end of every job" checkbox.
> 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