Yes.
I suggest you devise a 'index request queue' mechanism to handle
situations like this.  This can probably be made quite generic (i.e.
not Lucene and not indexing specific).  How you go about implementing
this is up to.

Otis


--- Sebastian Ho <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I forsee the following scenario in my project and hope to get a reply
> to
> this before I start coding :
> 
> I have an standalone application which runs lucene indexing in the
> background at a user specified interval (e.g. every 2 days). In the
> meantime, user will be able to force a indexing operation anytime he
> wish to. I assume this will cause two process of lucene writing to
> the
> same index files (one from the background lucene and the other one by
> the user). Will this cause any problem with regards to race condition
> or
> synchronization issues if any?
> 
> Thanks
> 
> Sebastian Ho
> BII
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to