Class MappingMultiDocsEnum
Exposes flex API, merged from flex API of sub-segments, remapping docIDs (this is used for segment merging).
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 sealed class MappingMultiDocsEnum : DocsEnum
Constructors
| Improve this Doc View SourceMappingMultiDocsEnum()
Sole constructor.
Declaration
public MappingMultiDocsEnum()
Properties
| Improve this Doc View SourceDocID
Declaration
public override int DocID { 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
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 SourceSubs
Returns sub-readers we are merging.
Declaration
public MultiDocsEnum.EnumWithSlice[] Subs { get; }
Property Value
Type | Description |
---|---|
MultiDocsEnum.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 SourceNextDoc()
Declaration
public override int NextDoc()
Returns
Type | Description |
---|---|
System.Int32 |