DotLucene 1.4 API Documentation |

# IndexReader.LastModified Method

Returns the time the index in the named directory was last modified.

Synchronization of IndexReader and IndexWriter instances is no longer done via time stamps of the segments file since the time resolution depends on the hardware platform. Instead, a version number is maintained within the segments file, which is incremented everytime when the index is changed.

#### Overload List

Returns the time the index in the named directory was last modified. Synchronization of IndexReader and IndexWriter instances is no longer done via time stamps of the segments file since the time resolution depends on the hardware platform. Instead, a version number is maintained within the segments file, which is incremented everytime when the index is changed.

> public static long LastModified(Directory);

Returns the time the index in the named directory was last modified. Synchronization of IndexReader and IndexWriter instances is no longer done via time stamps of the segments file since the time resolution depends on the hardware platform. Instead, a version number is maintained within the segments file, which is incremented everytime when the index is changed.

> public static long LastModified(FileInfo);

Returns the time the index in the named directory was last modified. Synchronization of IndexReader and IndexWriter instances is no longer done via time stamps of the segments file since the time resolution depends on the hardware platform. Instead, a version number is maintained within the segments file, which is incremented everytime when the index is changed.

> public static long LastModified(string);

#### See Also

IndexReader Class | Lucene.Net.Index Namespace