Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 47986 invoked from network); 11 Apr 2002 16:35:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Apr 2002 16:35:29 -0000 Received: (qmail 17790 invoked by uid 97); 11 Apr 2002 16:35:30 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 17753 invoked by uid 97); 11 Apr 2002 16:35:30 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 17742 invoked from network); 11 Apr 2002 16:35:29 -0000 Message-ID: <20020411163528.26992.qmail@web12701.mail.yahoo.com> Date: Thu, 11 Apr 2002 09:35:28 -0700 (PDT) From: Otis Gospodnetic Subject: Re: how to decide when the index needs to be optimized ? To: Lucene Users List In-Reply-To: <7B4F465444F8D51184B500065B38175007EBE1@mshyd1.hyd.deshaw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N My understanding it that you don't even have to optimize the index, unless you want your searches to be faster. I don't think Lucene has any internal limitation to the number of files that comprise an unoptimized index, so you'll hit the wall with Java or OS first, but even that limit is pretty high. You could just optimize every X documents or at the end of indexing. Otis --- "Biswas, Goutam_Kumar" wrote: > Hello ! > > We're building a Document Management System and we're using > Lucene to > index the > document contents. Initially when we're populating our database > we're > adding the > documents to the index also. We're also Optimizing the index > after > adding the > documents to the index. Now over a period of time more doucments > will be > added to > the index. So it's understabdable that after a period of time the > index > will be > unoptimized. Now is there some way we can detect that the index > needs > optimizaion. > Or we'll just have to keep optimizing the index, say for every n > documents being > added to the index, and if so how do we really figure out how > many > documents we > can add before optimizing the index. > > Can anyone throw some light on this ? > > Regards > -goutam- > > > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: