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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Codecs
Assembly: Lucene.Net.dll
Syntax
public abstract class SegmentInfoWriter
Constructors
| Improve this Doc View SourceSegmentInfoWriter()
Sole constructor. (For invocation by subclass constructors, typically implicit.)
Declaration
protected SegmentInfoWriter()
Methods
| Improve this Doc View SourceWrite(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 |
---|---|
System.IO.IOException | If an I/O error occurs. |