Return-Path: X-Original-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-connectors-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D86636EF9 for ; Tue, 24 May 2011 16:39:28 +0000 (UTC) Received: (qmail 62282 invoked by uid 500); 24 May 2011 16:39:28 -0000 Delivered-To: apmail-incubator-connectors-dev-archive@incubator.apache.org Received: (qmail 62225 invoked by uid 500); 24 May 2011 16:39:28 -0000 Mailing-List: contact connectors-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: connectors-dev@incubator.apache.org Delivered-To: mailing list connectors-dev@incubator.apache.org Received: (qmail 62217 invoked by uid 99); 24 May 2011 16:39:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 16:39:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 May 2011 16:39:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B81F2DC08C for ; Tue, 24 May 2011 16:38:47 +0000 (UTC) Date: Tue, 24 May 2011 16:38:47 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: connectors-dev@incubator.apache.org Message-ID: <438048707.39617.1306255127750.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1011297338.38062.1306195607469.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CONNECTORS-202) SOLR connector suport for commitWithin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-202?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 13038651#comment-13038651 ]=20 Jan H=C3=B8ydahl 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 pa= ir on the SolrOutputConnector or change from "/update/extract" to "/update/= extract?commitWithin=3D10000". 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=C3=B8ydahl > Labels: commit > > The output connection must support commitWithin (http://wiki.apache.org/s= olr/UpdateXmlMessages#Optional_attributes_for_.22add.22) in addition to sen= ding 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 cou= ld say that for "Important job" commitWithin=3D10s while for "Big crawl job= ", commitWithin=3D600s. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira