lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Messer <Bernhard.Mes...@intrafind.de>
Subject IndexReader and TermVectorsWriter cleanup
Date Fri, 06 Aug 2004 03:04:35 GMT
Hi developers,

in the attachments you will find to small cleanups for IndexReader and 
TermVectorsWriter. In TermVectorsWriter, the visibility of some public 
members are changed to protected.

In IndexReader, there is a public method "directory()", where classes 
outside lucene can get the current directory object attached to this 
reader. I think it would be better to make the method protected, so that 
no classes outside this package can fetch the directory object from an 
existing reader and maybe even close the directory which would definitly 
damage the reader.

best regards
Bernhard




Mime
View raw message