Re: TermInfosReader and clone of SegmentTermEnum

2006-12-13 Thread robert engels
That is correct. On Dec 13, 2006, at 4:48 PM, Otis Gospodnetic wrote: Aaaah, I think I get it. TermIndexReader can be shared by multiple threads. Each thread will need access to SegmentTermEnum inside the TIR, but since each of them will search, scan, and seek to a different location, each

Re: TermInfosReader and clone of SegmentTermEnum

2006-12-13 Thread Otis Gospodnetic
Aaaah, I think I get it. TermIndexReader can be shared by multiple threads. Each thread will need access to SegmentTermEnum inside the TIR, but since each of them will search, scan, and seek to a different location, each threads needs its own copy/clone of the original SegmentTermEnum. ThreadLoc