Multiple threads going on simultaneously for indexing on same index folder.. also some other threads (Indexing threads) going on for different index folders.. so may it gives Lock exception.. to get rid off these situations we change the lock path for each thread..
--Laxmilal Menaria On 3/1/07, George Aroush <[EMAIL PROTECTED]> wrote:
LOCK_DIR is read only by design. You can modify your copy of the code and make it none-read only and change it's value at run time. However, doing so isn't safe if the index is being updated. Why do you need to change the value at run-time? -- George Aroush -----Original Message----- From: Laxmilal Menaria [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 28, 2007 5:14 AM To: [email protected] Subject: Lucene Lock Directory Path Hi, By default lucene store a lock files at temp path, and if we wants to update the local path, then add key in app/web config "Lucene.Net.lockDir", but I wants to update LOCK directory path at run time. In lucene LOCK_DIR property is READONLY, so whats should I do ? and I don't want to update this property, If I update that, their are any Problems or Not? pls suggest me.. Thanks, Laxmilal Menaria
