lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
Subject Re: Per-Thread DW and IW
Date Tue, 20 Apr 2010 17:16:53 GMT
On 4/19/10 10:25 PM, Shai Erera wrote:
> It will definitely simplify multi-threaded handling for IW extensions
> like Parallel Index …
>    

I'm keeping Parallel indexing in mind.  After we have separate DWPT I'd 
like to introduce parallel DWPTs, that write different slices.  
Synchronization should not be a big worry then, because writing is 
single-threaded.

We could introduce a new abstract class SegmentWriter, which DWPT would 
implement.  An extension would be ParallelSegmentWriter, which would 
manage multiple SegmentWriters.   Or maybe SegmentSliceWriter would be a 
better name.

  Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message