DotLucene 1.4 API Documentation |

# IndexReader.GetCurrentVersion Method

Reads version number from segments files. The version number counts the number of changes of the index.

#### Overload List

Reads version number from segments files. The version number counts the number of changes of the index.

> public static long GetCurrentVersion(Directory);

Reads version number from segments files. The version number counts the number of changes of the index.

> public static long GetCurrentVersion(FileInfo);

Reads version number from segments files. The version number counts the number of changes of the index.

> public static long GetCurrentVersion(string);

#### See Also

IndexReader Class | Lucene.Net.Index Namespace