Class MultiDocsEnum
Exposes DocsEnum, merged from DocsEnum API of sub-segments.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
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)
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class MultiDocsEnum : DocsEnum
Constructors
| Improve this Doc View SourceMultiDocsEnum(MultiTermsEnum, Int32)
Sole constructor
Declaration
public MultiDocsEnum(MultiTermsEnum parent, int subReaderCount)
Parameters
Type | Name | Description |
---|---|---|
MultiTermsEnum | parent | The MultiTermsEnum that created us. |
System.Int32 | subReaderCount | How many sub-readers are being merged. |
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 SourceNumSubs
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 SourceCanReuse(MultiTermsEnum)
Returns true
if this instance can be reused by
the provided MultiTermsEnum.
Declaration
public bool CanReuse(MultiTermsEnum parent)
Parameters
Type | Name | Description |
---|---|---|
MultiTermsEnum | parent |
Returns
Type | Description |
---|---|
System.Boolean |
GetCost()
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 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()