Re: Index issue with unexpected termination of program without optimizing the index.

2007-06-25 Thread Sonu SR
thanks Erick. On 6/25/07, Erick Erickson <[EMAIL PROTECTED]> wrote: In this case, it seems that everything is under your control and you can gracefully close the Lucene index down when this occurs. Which I would recommend under any circumstances so as to insure that you know the state of your i

Re: Index issue with unexpected termination of program without optimizing the index.

2007-06-25 Thread Erick Erickson
In this case, it seems that everything is under your control and you can gracefully close the Lucene index down when this occurs. Which I would recommend under any circumstances so as to insure that you know the state of your index. At issue here is whether the last N documents that you've indexe

Re: Index issue with unexpected termination of program without optimizing the index.

2007-06-25 Thread Sonu SR
Hi, Thanks for the response. The error is probably related with mysql. My appliation using mysql for keeping the status of indexed documents. So that duplication can be avoided. Some times the mysql connection has been lost, and the program terminated. Sonu On 6/25/07, Otis Gospodnetic <[EMAIL

Re: Index issue with unexpected termination of program without optimizing the index.

2007-06-25 Thread Otis Gospodnetic
Hi, How exactly is your application terminating? Is there an error? An exception? If so, please provide the stack trace to get a better/right answer. No, the index is not automatically optimized at the beginning of indexing. There are likely no issues with documents that were already indexed a