lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject patch: adding IndexReader.isCurrent()
Date Fri, 03 Jun 2005 20:18:34 GMT
Hi,

a patch similar to this was proposed a year ago but then got lost. I will 
apply it unless someone objects. It fixes the problem that you cannot 
safely use IndexReader.getCurrentVersion() to detect changes, as the 
version number is reset to 0 if the index is re-created.

Also see 
http://www.mail-archive.com/lucene-dev%40jakarta.apache.org/msg06143.html

Regards
 Daniel

-- 
http://www.danielnaber.de

Mime
View raw message