Class AssertingDocsEnum
Wraps a DocsEnum with additional checks
Inheritance
System.Object
AssertingDocsEnum
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.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class AssertingDocsEnum : FilterAtomicReader.FilterDocsEnum
Constructors
| Improve this Doc View SourceAssertingDocsEnum(DocsEnum)
Declaration
public AssertingDocsEnum(DocsEnum in)
Parameters
Type | Name | Description |
---|---|---|
DocsEnum | in |
AssertingDocsEnum(DocsEnum, Boolean)
Declaration
public AssertingDocsEnum(DocsEnum in, bool failOnUnsupportedDocID)
Parameters
Type | Name | Description |
---|---|---|
DocsEnum | in | |
System.Boolean | failOnUnsupportedDocID |
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
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 SourceNextDoc()
Declaration
public override int NextDoc()
Returns
Type | Description |
---|---|
System.Int32 |