Class SegmentReadState
Holder class for common parameters used during read.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public class SegmentReadState : object
Constructors
Properties
Name | Description |
---|---|
Context | IOContext to pass to OpenInput(String, IOContext). |
Directory | Directory where this segment is read from. |
FieldInfos | FieldInfos describing all fields in this segment. |
SegmentInfo | SegmentInfo describing this segment. |
SegmentSuffix | Unique suffix for any postings files read for this segment. PerFieldPostingsFormat sets this for each of the postings formats it wraps. If you create a new PostingsFormat then any files you write/read must be derived using this suffix (use SegmentFileName(String, String, String)). |
TermsIndexDivisor | The NOTE: if this is < 0, that means "defer terms index load until needed". But if the codec must load the terms index on init (preflex is the only once currently that must do so), then it should negate this value to get the app's terms divisor |