Check if there are any lock files in your index directory after the process is completed. There should be no lock files if the index was correctly closed .
On Jan 25, 2008 8:59 AM, Erick Erickson <[EMAIL PROTECTED]> wrote: > This should not be happening. I've got to assume that you have > more than one IndexWriter open at the same time. > > There's no problem at all with updating an existing index that > I've ever seen, any similar errors on my part have been coding > errors on my part. > > So first make absolutely sure that your IndxWriters are closing > properly. If you're convinced that's the case, can you post some of > your code? > > Best > Erick > > On Jan 25, 2008 3:05 AM, anjana m <[EMAIL PROTECTED]> wrote: > > > I want to retain the older index. > > I dont want to delete the older index. > > Please help me. > > Does the recent release has the option to update the indexes without > > deleting it. > > I am ruuning the indexer on my sun application server. > > and its thorwing exceptions like cannot delete indexex. > > now every time i add new docs..i need to create a new index directory > > andmake my program point to thenew index directory. > > Please provide me..info about how can i handle the same.. > > And also i would like to know abt the latest version..where it has > fetures > > to update indexes without deleting it.. > > > > > > Thanks and regards > > anjana > > >