lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <>
Subject SegmentReader changes?
Date Sat, 29 Apr 2006 16:01:49 GMT
I think one of two things need to happen to the SegmentReader class.

Either make the 'segment' variable protected, or make the the initialize()
method protected.

Without this, subclassing SegmentReader is impossible, since there is no way
for the derived class to know what segment it is working with.

In implementing the 'reopen()' method SegmentReader needs to be subclassed
in order to support 'refreshing' the deleted documents.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message