Re: IndexReader locking index

2007-12-01 Thread Michael McCandless
"Ruslan Sivak" <[EMAIL PROTECTED]> wrote: > I am using MoreLikeThis functionality in my code. This code is > running on four separate servers. How do your separate servers share the index? What remote filesytem are you using here? > When I ran tests, it seemed to be fine, but looks like under

IndexReader locking index

2007-11-30 Thread Ruslan Sivak
I am using MoreLikeThis functionality in my code. This code is running on four separate servers. When I ran tests, it seemed to be fine, but looks like under heavy use, the index file is always locked, and when I reindex all the docs, it doubles the size of the index (my guess is the old file

Re: IndexReader locking

2005-11-28 Thread Doug Cutting
IndexReader locks the index while opening it to prohibit an IndexWriter from deleting any of the files in that index until all are opened. Lock files are not stored in the index directory since write access to an index should not be required to lock it while opening an IndexReader. Doug Dani

IndexReader locking

2005-11-27 Thread Daniel Noll
While writing a simple stress testing exercise, I came across the strange condition that the IndexReader locks the index even though it's only supposed to be reading. Now, I understand that IndexReader can in fact modify the index (no matter how unintuitive that is) but it seems to me that a l