Class DocsAndPositionsEnum
Also iterates through positions.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class DocsAndPositionsEnum : DocsEnum
Constructors
Name | Description |
---|---|
DocsAndPositionsEnum() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Properties
Name | Description |
---|---|
EndOffset | Returns end offset for the current position, or -1 if offsets were not indexed. |
StartOffset | Returns start offset for the current position, or -1 if offsets were not indexed. |
Methods
Name | Description |
---|---|
GetPayload() | Returns the payload at this position, or |
NextPosition() | Returns the next position. You should only call this up to Freq times else the behavior is not defined. If positions were not indexed this will return -1; this only happens if offsets were indexed and you passed needsOffset=true when pulling the enum. |