Class SegmentInfoWriter
Specifies an API for classes that can write out SegmentInfo data.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class SegmentInfoWriter
Constructors
SegmentInfoWriter()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected SegmentInfoWriter()
Methods
Write(Directory, SegmentInfo, FieldInfos, IOContext)
Write SegmentInfo data.
Declaration
public abstract void Write(Directory dir, SegmentInfo info, FieldInfos fis, IOContext ioContext)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
SegmentInfo | info | |
FieldInfos | fis | |
IOContext | ioContext |
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |