RE: Avoiding segment merges during indexing

2005-08-11 Thread Kevin Oliver
tic [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 3:36 PM To: java-dev@lucene.apache.org Subject: Re: Avoiding segment merges during indexing Kevin - are you saying that you can just comment out the 2 optimize() calls and addIndexes(Directory[]) will keep working? I don't recall why

Re: Avoiding segment merges during indexing

2005-08-11 Thread Otis Gospodnetic
Kevin - are you saying that you can just comment out the 2 optimize() calls and addIndexes(Directory[]) will keep working? I don't recall why there are optimize() calls again, but I know several people had issues with it... Otis --- Kevin Oliver <[EMAIL PROTECTED]> wrote: > This is a proposal t

Avoiding segment merges during indexing

2005-08-11 Thread Kevin Oliver
This is a proposal that is in need of some insights. In an effort to speed up adding documents to an existing index, we are pursuing using IndexWriter.addIndexes(Directory[]). In theory this should work great -- you index your new documents into a new Directory, then add them into to your existing