Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
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. More...
Inherited by Lucene.Net.Index.DirectoryReader.AnonymousClassFindSegmentsFile, Lucene.Net.Index.DirectoryReader.AnonymousClassFindSegmentsFile1, Lucene.Net.Index.DirectoryReader.AnonymousFindSegmentsFile, Lucene.Net.Index.IndexReader.AnonymousClassFindSegmentsFile, and Lucene.Net.Index.SegmentInfos.AnonymousClassFindSegmentsFile.
Public Member Functions | |
System.Object | Run () |
System.Object | Run (IndexCommit commit) |
abstract System.Object | DoBody (System.String segmentFileName) |
Subclass must implement this. The assumption is an IOException will be thrown if something goes wrong during the processing that could have been caused by a writer committing. | |
Protected Member Functions | |
FindSegmentsFile (Directory directory) | |
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.
Definition at line 565 of file SegmentInfos.cs.
|
protected |
Definition at line 570 of file SegmentInfos.cs.
|
pure virtual |
Subclass must implement this. The assumption is an IOException will be thrown if something goes wrong during the processing that could have been caused by a writer committing.
System.Object Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run | ( | ) |
Definition at line 575 of file SegmentInfos.cs.
System.Object Lucene.Net.Index.SegmentInfos.FindSegmentsFile.Run | ( | IndexCommit | commit | ) |
Definition at line 580 of file SegmentInfos.cs.