Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.FindSegmentsFile Class

Utility class for executing code that needs to do something with the current segments file. This is necessary with lock-less commits because from the time you locate the current segments file name, until you actually open it, read its contents, or check modified time, etc., it could have been deleted due to a writer commit finishing.

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

System.Object
   Lucene.Net.Index.SegmentInfos.FindSegmentsFile

public abstract class SegmentInfos.FindSegmentsFile

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

SegmentInfos.FindSegmentsFile Members | Lucene.Net.Index Namespace