Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 5496 invoked from network); 1 Oct 2009 18:45:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 18:45:58 -0000 Received: (qmail 12254 invoked by uid 500); 1 Oct 2009 18:45:57 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 12175 invoked by uid 500); 1 Oct 2009 18:45:57 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 12165 invoked by uid 99); 1 Oct 2009 18:45:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 18:45:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of noble.paul@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-px0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 18:45:48 +0000 Received: by pxi10 with SMTP id 10so437707pxi.20 for ; Thu, 01 Oct 2009 11:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=48naa4Mm7xl6TFcwGsyCW98CgEjJNEcf2L93wwbCK00=; b=cH2534YpPNL1tysIEMd3SIdlPlupuLcTYsv1ofjWeeO63Hk2qlKrUJultNX5zLSWCL CTKdd+3XTePtC2T8Ba1CytnaQJa5DeXZhY5xLtCfvpQ1hsXlxleWWAU5A/hIrK+sagYU rVksg2Tnf4KX9LtPp/2uHhUVZ77Sh36hIpsl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=s4LkcZgWx56SG1x4wOQqzBXvJ5/sWABDruXGf20OPBKVUGSu+lIyWlU7fYoKdNT4xu qz7QEqi0v/V6bAdlug5wFcDYN0Yt+VgoETls2hoxofKNP6jwXpTaOfgtTO8/+fOtQmag jRcYsOMqPaeWcrCbXmA5rP++sEx1BybrAMAAg= MIME-Version: 1.0 Sender: noble.paul@gmail.com Reply-To: noble.paul@gmail.com Received: by 10.141.19.10 with SMTP id w10mr570486rvi.108.1254422667103; Thu, 01 Oct 2009 11:44:27 -0700 (PDT) In-Reply-To: <1421482655.1254420743636.JavaMail.jira@brutus> References: <1333324508.1252705198379.JavaMail.jira@brutus> <1421482655.1254420743636.JavaMail.jira@brutus> From: =?UTF-8?B?Tm9ibGUgUGF1bCDgtKjgtYvgtKzgtL/gtLPgtY3igI0gIOCkqOCli+CkrOCljeCks+CljQ==?= Date: Fri, 2 Oct 2009 00:14:07 +0530 X-Google-Sender-Auth: 1ef7c9f8d8170552 Message-ID: <5e76b0ad0910011144p53382eabpa3cf2beb0ce16843@mail.gmail.com> Subject: Re: [jira] Commented: (SOLR-1426) Allow delta-import to run continously until aborted To: solr-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org the lastIndexTime is removed from DataImporter because it is redundant. On Thu, Oct 1, 2009 at 11:42 PM, Abdul Chaudhry (JIRA) wr= ote: > > =A0 =A0[ https://issues.apache.org/jira/browse/SOLR-1426?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D= 12761289#action_12761289 ] > > Abdul Chaudhry commented on SOLR-1426: > -------------------------------------- > > NOTE: the last_index_time is broken with the perpetual patch > > I hacked around this by changing the data-config.xml file for the deltaQu= ery to do something like this:- > > WHERE updated_at > DATE_SUB('${dataimporter.last_index_time}',INTERVAL 10= SECOND) > > This is because of the time discrepancy between the sleep and the writers= last_index_time. > > However, it looks like the delta-import is broken in the latest build of = solr trunk revision 820731. It looks like the lastIndexTime in the DataImpo= rter is not populated after a delta and so if you used ${dataimporter.last_= index_time} then the deltaQuery uses the wrong time. > > I am going to wait until delta-import is fixed before I update a patch. > > >> Allow delta-import to run continously until aborted >> --------------------------------------------------- >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Key: SOLR-1426 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 URL: https://issues.apache.org/jira/brow= se/SOLR-1426 >> =A0 =A0 =A0 =A0 =A0 =A0 Project: Solr >> =A0 =A0 =A0 =A0 =A0Issue Type: Improvement >> =A0 =A0 =A0 =A0 =A0Components: contrib - DataImportHandler >> =A0 =A0Affects Versions: 1.4 >> =A0 =A0 =A0 =A0 =A0 =A0Reporter: Abdul Chaudhry >> =A0 =A0 =A0 =A0 =A0 =A0Assignee: Noble Paul >> =A0 =A0 =A0 =A0 =A0 =A0 Fix For: 1.5 >> >> =A0 =A0 =A0 =A0 Attachments: delta-import-perpetual.patch >> >> >> Modify the delta-import so that it takes a perpetual flag that makes it = run continuously until its aborted. >> http://localhost:8985/solr/select/?command=3Ddelta-import&clean=3Dfalse&= qt=3D/dataimport&commit=3Dtrue&perpetual=3Dtrue >> perpetual means the delta import will keep running and pause for a few s= econds when running queries. >> The only way to stop delta import will be to explicitly issue an abort l= ike so:- >> http://localhost:8985/solr/tickets/select/?command=3Dabort > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > --=20 ----------------------------------------------------- Noble Paul | Principal Engineer| AOL | http://aol.com