Class LookaheadTokenFilter.Position
Holds all state for a single position; subclass this to record other state at each position.
Implements
IResettable
Inherited Members
Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class LookaheadTokenFilter.Position : IResettable
Properties
EndOffset
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public int EndOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
InputTokens
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public IList<AttributeSource.State> InputTokens { get; }
Property Value
| Type | Description |
|---|---|
| IList<AttributeSource.State> |
NextRead
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public int NextRead { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartOffset
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public int StartOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Add(State)
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public virtual void Add(AttributeSource.State state)
Parameters
| Type | Name | Description |
|---|---|---|
| AttributeSource.State | state |
NextState()
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public virtual AttributeSource.State NextState()
Returns
| Type | Description |
|---|---|
| AttributeSource.State |
Reset()
Holds all state for a single position; subclass this to record other state at each position.
Declaration
public void Reset()
Implements
Lucene.Net.Util.IResettable