Constructor SegmentWriteState
SegmentWriteState(InfoStream, Directory, SegmentInfo, FieldInfos, Int32, BufferedUpdates, IOContext)
Sole constructor.
Declaration
public SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, int termIndexInterval, BufferedUpdates segUpdates, IOContext context)
Parameters
Type | Name | Description |
---|---|---|
InfoStream | infoStream | |
Directory | directory | |
SegmentInfo | segmentInfo | |
FieldInfos | fieldInfos | |
System.Int32 | termIndexInterval | |
BufferedUpdates | segUpdates | |
IOContext | context |
SegmentWriteState(InfoStream, Directory, SegmentInfo, FieldInfos, Int32, BufferedUpdates, IOContext, String)
Constructor which takes segment suffix.
Declaration
public SegmentWriteState(InfoStream infoStream, Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, int termIndexInterval, BufferedUpdates segUpdates, IOContext context, string segmentSuffix)
Parameters
Type | Name | Description |
---|---|---|
InfoStream | infoStream | |
Directory | directory | |
SegmentInfo | segmentInfo | |
FieldInfos | fieldInfos | |
System.Int32 | termIndexInterval | |
BufferedUpdates | segUpdates | |
IOContext | context | |
System.String | segmentSuffix |
See Also
SegmentWriteState(SegmentWriteState, String)
Create a shallow copy of SegmentWriteState with a new segment suffix.
Declaration
public SegmentWriteState(SegmentWriteState state, string segmentSuffix)
Parameters
Type | Name | Description |
---|---|---|
SegmentWriteState | state | |
System.String | segmentSuffix |