Good point on isCurrent - I think it should only be with respect to the latest index commit point? and we should clarify that in the javadoc.
[...] > // but what does the nrtReader say? > // it does not have access to the most recent commit > // state, as there's been a commit (with documents) > // since it was opened. But the nrtReader *has* those > // documents. I think we keep it simple - the nrtReader.isCurrent() would return false after a commit is called. Yes, isCurrent() is no longer such a great name. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org