[
https://issues.apache.org/jira/browse/CONNECTORS-1261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035212#comment-15035212
]
Shinichiro Abe commented on CONNECTORS-1261:
--------------------------------------------
Hi,
FWIW, there is a quick fix link when used with "Server update handler=/update":
https://lucene.apache.org/solr/5_1_0/solr-solrj/org/apache/solr/client/solrj/SolrClient.html#add(org.apache.solr.common.SolrInputDocument,%20int)
-1 or ms.
I tend to configure autoCommit/autoSoftCommit on the solr side rather than
posting each SolrInputDocument with commitWithin.
> Solr output connector, commit within seems to be ignored
> --------------------------------------------------------
>
> Key: CONNECTORS-1261
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1261
> Project: ManifoldCF
> Issue Type: Bug
> Components: Solr-5.x component
> Affects Versions: ManifoldCF 2.3
> Environment: Ubuntu 14.04, Solr 5.3.1
> Reporter: Adrian Conlon
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.3
>
>
> I've configured my output connector to commit both at the end of a job and
> "within" 600000 ms (which should be 10 minutes, if my arithmetic is correct).
> The effect I'm seeing is that commits are occurring as jobs complete, but if
> a set of long running jobs aren't completing quickly, I'm not seeing commits
> every 10 minutes.
> FYI, here's my Solr output connection configuration
> Use extract update handler=false
> Solr core name=OasysMailSearch
> Server web application=solr
> Server name=STGDM16
> Maximum document length=10000000
> Commits=true
> Solr content field name=body
> Server update handler=/update
> Server status handler=/admin/ping
> Commit within=600000
> Server remove handler=/update
> Server port=8983
> Solr id field name=id
> Server protocol=http
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)