Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.Read Method (Directory, String)

Read a particular segmentFileName. Note that this may throw an IOException if a commit is in process.

public void Read(
   Directory directory,
   string segmentFileName
);

Parameters

directory
-- directory containing the segments file
segmentFileName
-- segment file to load

See Also

SegmentInfos Class | Lucene.Net.Index Namespace | SegmentInfos.Read Overload List