Apache Lucene.Net 2.4.0 Class Library API

RAMDirectory.FileExists Method 

Returns true iff the named file exists in this directory.

public override bool FileExists(
   string name
);

See Also

RAMDirectory Class | Lucene.Net.Store Namespace