If this reader is based on a Directory (ie, was created by calling
If instead this reader is a near real-time reader (ie, obtained by a call to IndexWriter.GetReader(), or by calling Reopen() on a near real-time reader), then this method checks if either a new commmit has occurred, or any new uncommitted changes have taken place via the writer. Note that even if the writer has only performed merging, this method will still return false.
In any event, if this returns false, you should call Reopen() to get a new reader that sees the changes.
public IsCurrent ( ) : bool | ||
return | bool |