Set the parameter to false as per the documentation.... Erick
On Jan 27, 2008 5:11 AM, anjana m <[EMAIL PROTECTED]> wrote: > yes i dont want the old index to be deletd since its running on my app > server.. > any suggestion..? > > On Jan 27, 2008 3:07 PM, Daniel Naber <[EMAIL PROTECTED]> > wrote: > > > On Sonntag, 27. Januar 2008, anjana m wrote: > > > > > IndexWriter writer = new IndexWriter(indexDir, new > > > StandardAnalyzer(), true); > > > > The true parameter means that the old index will be deleted, is that > your > > problem? > > > > Regards > > Daniel > > > > -- > > http://www.danielnaber.de > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >