Returns all file names referenced by SegmentInfo
instances matching the provided Directory (ie files
associated with any "external" segments are skipped).
The returned collection is recomputed on each
invocation.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public ICollection<string> Files( Directory dir, bool includeSegmentsFile ) |
Visual Basic |
---|
Public Function Files ( _ dir As Directory, _ includeSegmentsFile As Boolean _ ) As ICollection(Of String) |
Visual C++ |
---|
public: ICollection<String^>^ Files( Directory^ dir, bool includeSegmentsFile ) |
Parameters
- dir
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="dir"/> documentation for "M:Lucene.Net.Index.SegmentInfos.Files(Lucene.Net.Store.Directory,System.Boolean)"]
- includeSegmentsFile
- Type: System..::..Boolean
[Missing <param name="includeSegmentsFile"/> documentation for "M:Lucene.Net.Index.SegmentInfos.Files(Lucene.Net.Store.Directory,System.Boolean)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.Files(Lucene.Net.Store.Directory,System.Boolean)"]