lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Sturge <>
Subject calling commit() on IndexReader
Date Tue, 31 Jul 2007 23:56:13 GMT
Can anyone explain to me why commit() on IndexReader is a protected method?

I want to do periodic deletes from my main index. I don't want to reopen 
the index (all that is changing are things are being deleted), so I 
don't want to call close(), but I can't call commit() from outside the 
class directly (which writes the *.del file)

Is this done for my protection or for my annoyance? (meaning, if I 
subclass just this to make the method public am I going to cause any 



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message