Constructor SegmentReadState
SegmentReadState(Directory, SegmentInfo, FieldInfos, IOContext, Int32)
Create a SegmentReadState.
Declaration
public SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, int termsIndexDivisor)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
SegmentInfo | info | |
FieldInfos | fieldInfos | |
IOContext | context | |
System.Int32 | termsIndexDivisor |
SegmentReadState(Directory, SegmentInfo, FieldInfos, IOContext, Int32, String)
Create a SegmentReadState.
Declaration
public SegmentReadState(Directory dir, SegmentInfo info, FieldInfos fieldInfos, IOContext context, int termsIndexDivisor, string segmentSuffix)
Parameters
Type | Name | Description |
---|---|---|
Directory | dir | |
SegmentInfo | info | |
FieldInfos | fieldInfos | |
IOContext | context | |
System.Int32 | termsIndexDivisor | |
System.String | segmentSuffix |
SegmentReadState(SegmentReadState, String)
Create a SegmentReadState.
Declaration
public SegmentReadState(SegmentReadState other, string newSegmentSuffix)
Parameters
Type | Name | Description |
---|---|---|
SegmentReadState | other | |
System.String | newSegmentSuffix |