lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leon <lucen...@yahoo.cn>
Subject DocumentsWriter questions
Date Sat, 03 Nov 2007 10:15:16 GMT
Hi,Michael McCandless
   
     Glad to know that you contributed the new optimize method to DocumentsWriter. i am a
new one to lucene. However i think the class DocumentsWriter is not well designed. The first
coming out question is
  1:  Why not extract the code of ThreadState management to a new internal class such as ThreadStatePool.

  2:  Why not extract the hash method to something like LuceneHashMap 
   
  At present, there are lots of threadstate management code occured everywhere in the DocumentsWriter.
Make code easier to understand is a good way to attract more people to involed in.
   
  leon

       
---------------------------------
 @yahoo.cn 新域名、无限量,快来抢注!
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message