Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 14027 invoked from network); 12 Dec 2006 09:55:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 09:55:32 -0000 Received: (qmail 77595 invoked by uid 500); 12 Dec 2006 09:55:32 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 77505 invoked by uid 500); 12 Dec 2006 09:55:31 -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 77494 invoked by uid 99); 12 Dec 2006 09:55:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 01:55:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [193.97.200.65] (HELO gate.fiz-technik.de) (193.97.200.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 01:55:19 -0800 Received: from localhost (localhost [127.0.0.1]) by localhost.qgroup.de (Postfix) with ESMTP id 7619213F869 for ; Tue, 12 Dec 2006 10:54:57 +0100 (CET) Received: from gate.fiz-technik.de ([127.0.0.1]) by localhost (gate [127.0.0.1]) (amavisd-new, port 27304) with ESMTP id 23458-34 for ; Tue, 12 Dec 2006 10:54:57 +0100 (CET) Received: from fizmail.fiz-technik.de (newton1.fiz-technik.de [193.97.200.134]) by gate.fiz-technik.de (Postfix) with SMTP id 2B01113F67B for ; Tue, 12 Dec 2006 10:54:57 +0100 (CET) Received: by fizmail.fiz-technik.de (Postfix, from userid 65534) id 00331947BD; Tue, 12 Dec 2006 10:54:56 +0100 (CET) Received: from walix.fiz-technik.de (unknown [193.97.200.248]) by fizmail.fiz-technik.de (Postfix) with ESMTP id CA3469430A for ; Tue, 12 Dec 2006 10:54:55 +0100 (CET) From: Waheed Mohammed Organization: FIZ-technik e.V To: java-user@lucene.apache.org Subject: Re: Lucene id generation Date: Tue, 12 Dec 2006 10:55:32 +0100 User-Agent: KMail/1.7.1 References: <200612111610.kBBGAQ5S087130@pigeon.ciao.com> In-Reply-To: <200612111610.kBBGAQ5S087130@pigeon.ciao.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612121055.32916.waheed.mohammed@fiz-technik.de> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the instant reply, I see what rajesh advises is something lilke what MultiReader does. That would be my last approach becouse of the complexities it will introduce in developing the business case I have. Any thing other than that would be a appriciable ppointer On Monday 11 December 2006 17:10, Ramana Jelda wrote: > I really lack this feature from lucene too. > Whatever the requirements from Mohammed, There surely I see some > improvements in search performance. > > My argument here is, why not lucene provides a mechanism to be able to > provide custom document ids? > > > -----Original Message----- > > From: Find Me [mailto:findmath@gmail.com] > > Sent: Monday, December 11, 2006 4:34 PM > > To: java-user@lucene.apache.org > > Subject: Re: Lucene id generation > > > > On 12/11/06, Waheed Mohammed wrote: > > > Hello, > > > > > > Is there a way to influence lucene's generation of ids > > > > while indexing. > > > > > my requirement is. I want to have different indexes where no index > > > should have ids that have been assigned to an index earlier. > > > for instance > > > IDX1 : {0.........100} > > > IDX2: {101.......200} > > > IDX3: {201.......300} > > > but not > > > IDX1 : {0.........100} > > > IDX2 : {0.........100} > > > IDX3 : {0.........100} > > > > I dont think you should be doing that. If you want to have > > the same effect, > > during searching you can package hits from different indices with a > > predetermined offset for each index. For ex: IDX1 will have > > an offset 0, > > IDX2 will have 101...and so on. > > > > --Rajesh Munavalli > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org -- A W Mohammed Software Entwickler FIZ-technik e.V Frankfut am Main --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org