Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 73702 invoked from network); 12 Apr 2008 00:05:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Apr 2008 00:05:12 -0000 Received: (qmail 28390 invoked by uid 500); 12 Apr 2008 00:05:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 28349 invoked by uid 500); 12 Apr 2008 00:05:05 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 28338 invoked by uid 99); 12 Apr 2008 00:05:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2008 17:05:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.49.252] (HELO web52005.mail.re2.yahoo.com) (206.190.49.252) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 12 Apr 2008 00:04:14 +0000 Received: (qmail 43642 invoked by uid 60001); 12 Apr 2008 00:04:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=hk7F8AKv+lSirpDXN8tvdvf23gGeh7aVOnjp3zCyYas2HOkJDxnOVGjlOoq+P1ESvusBYuc2Fulq4+znD1OAIeTxa5izASFFNjnmZNXiONTfU8edIOnBuE/Whnxj4EiIyx3Q7ig0NxQK8X6cyVKKDLQ7oITYO3xcosAZp7EN/J0=; X-YMail-OSG: ueRLk_QVM1l_HCmwe0htUPi3qsSBlEz8AjkfFAhs4aqPDqDebC9Dow1JdsyX6zkINQeKouFv.Yaln6Jjv0uFqJVoStazpWFGr21lImHGrY3qI_lHDwz2twb9PcvUrw-- Received: from [12.162.3.126] by web52005.mail.re2.yahoo.com via HTTP; Fri, 11 Apr 2008 17:04:33 PDT Date: Fri, 11 Apr 2008 17:04:33 -0700 (PDT) From: Rajesh parab Subject: Re: Lucene index on relational data To: java-user@lucene.apache.org In-Reply-To: <47FFF87E.9040803@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <215996.43631.qm@web52005.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Karl. How do we specify the primary key or doc id so that newly added document will use the same doc id. Do you have any sample code that makes use of this patch? Secondly, there was a comment saying it is a proof of concept and not a real project. Is anyone using this patch on their production environments? Will this fix get rolled into latest Lucene release? Regards, Rajesh --- Karl Wettin wrote: > Rajesh parab skrev: > > > https://issues.apache.org/jira/browse/LUCENE-879 > > <> > > As per the hack you mentioned inside JIRA, if some > of > > the documents are deleted and re-inserted into > > secondary index, the other documents inside the > index > > do not change their doc id. However, the newly > added > > documents will have different doc ids and hence, > we > > will have to sync them with primary index doc ids. > Is > > my understanind correct? If this is the case, then > we > > will have to update both the indexes every time > > something inside secondary index changes. > > From the JIRA comments to the second patch in > there: > > This new patch allows consumer to, based on a > primary key, delete a > document and add a new document with the same > document number as the > deleted. The events will occur on merging. > > > karl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: > java-user-help@lucene.apache.org > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org