1. Yes it is safe to search while optimizing and adding documents to an
index.

2. NO you can not add documents to an index while it is optimized. You
can only have one instance of IndexWriter working on an index

HTH

Aviran
http://www.aviransplace.com
http://shaveh.co.il 

-----Original Message-----
From: Joe [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 29, 2007 11:10 AM
To: java-user@lucene.apache.org
Subject: addding/searching documents during optimize

Hi,

I am not sure, so i need ur opinion to these 2 questions:

Is it save to search an index while its beeing optimized by another java
process?

Is it save to add documents to an index while its beeing optimized by
another java process?



---------------------------------------------------------------------
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