Re: Problem with updating Index continuously

2008-10-20 Thread Mr Shore
Mysql supports freetext search,why still stick on nutch? 2008/10/20 Michael McCandless <[EMAIL PROTECTED]> > > Is it possible you are closing it somewhere else? > > This code fragment looks correct to me. > > Mike > > Cool The Breezer wrote: > > You need to close the old read, only if the newRea

Re: Problem with updating Index continuously

2008-10-20 Thread Michael McCandless
Is it possible you are closing it somewhere else? This code fragment looks correct to me. Mike Cool The Breezer wrote: You need to close the old read, only if the newReader is different (ie, it was in fact reopened because there were changes in the index). I tried closing but getting "inde

Re: Problem with updating Index continuously

2008-10-20 Thread Cool The Breezer
> You need to close the old read, only if the newReader is > different > (ie, it was in fact reopened because there were changes in > the index). I tried closing but getting "index already closed" error. IndexReader newReader = reader.reopen(); if (newReader != reader)

Re: Problem with updating Index continuously

2008-10-20 Thread Michael McCandless
You need to close the old read, only if the newReader is different (ie, it was in fact reopened because there were changes in the index). Not closing the old reader will cause the files it held open to be undeletable. Mike Cool The Breezer wrote: Hi, I have requirement of updating se