コード例 #1
0
 /// <summary> Returns the time the index in the named directory was last modified.
 /// Do not use this to check whether the reader is still up-to-date, use
 /// {@link #IsCurrent()} instead.
 /// </summary>
 public static long LastModified(System.IO.FileInfo directory)
 {
     return(FSDirectory.FileModified(directory, IndexFileNames.SEGMENTS));
 }
コード例 #2
0
 public override long FileModified(System.String name)
 {
     return(fsDir.FileModified(name));
 }
コード例 #3
0
ファイル: IndexReader.cs プロジェクト: ArsenShnurkov/beagle-1
 public override System.Object DoBody(System.String segmentFileName)
 {
     return((long)FSDirectory.FileModified(fileDirectory, segmentFileName));
 }