Lucene.Net.Index.IndexReader.GetCurrentVersion C# (CSharp) Метод

GetCurrentVersion() публичный статический Метод

Reads version number from segments files. The version number is initialized with a timestamp and then increased by one for each change of the index.
public static GetCurrentVersion ( Directory directory ) : long
directory System.IO.Directory where the index resides. ///
Результат long
		public static long GetCurrentVersion(Directory directory)
		{
			return SegmentInfos.ReadCurrentVersion(directory);
		}