Apache Lucene.Net 2.4.0 Class Library API

DirectoryIndexReader Class

IndexReader implementation that has access to a Directory. Instances that have a SegmentInfos object (i. e. segmentInfos != null) "own" the directory, which means that they try to acquire a write lock whenever index modifications are performed.

For a list of all members of this type, see DirectoryIndexReader Members.

System.Object
   Lucene.Net.Index.IndexReader
      Lucene.Net.Index.DirectoryIndexReader
         Lucene.Net.Index.MultiSegmentReader
         Lucene.Net.Index.SegmentReader

public abstract class DirectoryIndexReader : IndexReader

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Index

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

DirectoryIndexReader Members | Lucene.Net.Index Namespace