Returns the directory associated with this index. The Default implementation returns the directory specified by subclasses when delegating to the IndexReader(Directory) constructor, or throws an UnsupportedOperationException if one was not specified.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual Directory Directory()
Visual Basic
Public Overridable Function Directory As Directory
Visual C++
public:
virtual Directory^ Directory()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.Directory"]

See Also