Class MultiDocsAndPositionsEnum
Exposes flex API, merged from flex API of sub-segments.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
MultiDocsAndPositionsEnum
Assembly: Lucene.Net.dll
Syntax
public sealed class MultiDocsAndPositionsEnum : DocsAndPositionsEnum
Constructors
|
Improve this Doc
View Source
MultiDocsAndPositionsEnum(MultiTermsEnum, Int32)
Declaration
public MultiDocsAndPositionsEnum(MultiTermsEnum parent, int subReaderCount)
Parameters
Type |
Name |
Description |
MultiTermsEnum |
parent |
|
System.Int32 |
subReaderCount |
|
Properties
|
Improve this Doc
View Source
DocID
Declaration
public override int DocID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
EndOffset
Declaration
public override int EndOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Freq
Declaration
public override int Freq { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
NumSubs
How many sub-readers we are merging.
Declaration
public int NumSubs { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StartOffset
Declaration
public override int StartOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Subs
Returns sub-readers we are merging.
Declaration
public MultiDocsAndPositionsEnum.EnumWithSlice[] Subs { get; }
Property Value
Methods
|
Improve this Doc
View Source
Advance(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 Source
CanReuse(MultiTermsEnum)
Returns true
if this instance can be reused by
the provided MultiTermsEnum.
Declaration
public bool CanReuse(MultiTermsEnum parent)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetCost()
Declaration
public override long GetCost()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
GetPayload()
Declaration
public override BytesRef GetPayload()
Returns
Overrides
|
Improve this Doc
View Source
NextDoc()
Declaration
public override int NextDoc()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
NextPosition()
Declaration
public override int NextPosition()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
Reset(MultiDocsAndPositionsEnum.EnumWithSlice[], Int32)
Re-use and reset this instance on the provided slices.
Declaration
public MultiDocsAndPositionsEnum Reset(MultiDocsAndPositionsEnum.EnumWithSlice[] subs, int numSubs)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|