Class MappingMultiDocsAndPositionsEnum
Exposes flex API, merged from flex API of sub-segments, remapping docIDs (this is used for segment merging).
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
MappingMultiDocsAndPositionsEnum
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 sealed class MappingMultiDocsAndPositionsEnum : DocsAndPositionsEnum
Constructors
| Improve this Doc View SourceMappingMultiDocsAndPositionsEnum()
Sole constructor.
Declaration
public MappingMultiDocsAndPositionsEnum()
Properties
| Improve this Doc View SourceDocID
Declaration
public override int DocID { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceEndOffset
Declaration
public override int EndOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceFreq
Declaration
public override int Freq { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceMergeState
Gets or Sets the MergeState, which is used to re-map document IDs.
Declaration
public MergeState MergeState { get; set; }
Property Value
Type | Description |
---|---|
MergeState |
NumSubs
How many sub-readers we are merging.
Declaration
public int NumSubs { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
See Also
| Improve this Doc View SourceStartOffset
Declaration
public override int StartOffset { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceSubs
Returns sub-readers we are merging.
Declaration
public MultiDocsAndPositionsEnum.EnumWithSlice[] Subs { get; }
Property Value
Type | Description |
---|---|
MultiDocsAndPositionsEnum.EnumWithSlice[] |
Methods
| Improve this Doc View SourceAdvance(Int32)
Declaration
public override int Advance(int target)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | target |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceGetCost()
Declaration
public override long GetCost()
Returns
Type | Description |
---|---|
System.Int64 |
Overrides
| Improve this Doc View SourceGetPayload()
Declaration
public override BytesRef GetPayload()
Returns
Type | Description |
---|---|
BytesRef |
Overrides
| Improve this Doc View SourceNextDoc()
Declaration
public override int NextDoc()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceNextPosition()
Declaration
public override int NextPosition()
Returns
Type | Description |
---|---|
System.Int32 |