Apache Lucene.Net 2.4.0 Class Library API

Directory.TouchFile Method 

Set the modified time of an existing file to now.

public abstract void TouchFile(
   string name
);

See Also

Directory Class | Lucene.Net.Store Namespace