Re: Parallel Index Search

2006-10-16 Thread Michael McCandless
Supriya Kumar Shyamal wrote: If I am not mistaken the process of locking the Index by different objects like IndexReader or Indexwriter, theoratically only one Thread can access the index at a time. Actually, only one writer can write to the index at once. Multiple readers can read from the

Re: Parallel Index Search

2006-10-16 Thread Supriya Kumar Shyamal
Michael McCandless wrote: Supriya Kumar Shyamal wrote: If I am not mistaken the process of locking the Index by different objects like IndexReader or Indexwriter, theoratically only one Thread can access the index at a time. Actually, only one writer can write to the index at once. Multiple

Re: Parallel Index Search

2006-10-16 Thread Michael McCandless
Supriya Kumar Shyamal wrote: If I am not mistaken the process of locking the Index by different objects like IndexReader or Indexwriter, theoratically only one Thread can access the index at a time. Actually, only one writer can write to the index at once. Multiple readers can read from the

Parallel Index Search

2006-10-16 Thread Supriya Kumar Shyamal
Hello All, If I am not mistaken the process of locking the Index by different objects like IndexReader or Indexwriter, theoratically only one Thread can access the index at a time. When we do search on the index it creates a commit lock so the other thread does not modify the index, so other