Class LookaheadTokenFilter.Position
Holds all state for a single position; subclass this to record other state at each position.
Inheritance
System.Object
LookaheadTokenFilter.Position
Implements
Lucene.Net.Util.RollingBuffer.IResettable
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.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class Position : RollingBuffer.IResettable
Properties
| Improve this Doc View SourceEndOffset
Declaration
public int EndOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
InputTokens
Declaration
public IList<AttributeSource.State> InputTokens { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Lucene.Net.Util.AttributeSource.State> |
NextRead
Declaration
public int NextRead { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartOffset
Declaration
public int StartOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceAdd(AttributeSource.State)
Declaration
public virtual void Add(AttributeSource.State state)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.AttributeSource.State | state |
NextState()
Declaration
public virtual AttributeSource.State NextState()
Returns
Type | Description |
---|---|
Lucene.Net.Util.AttributeSource.State |
Reset()
Declaration
public void Reset()
Implements
Lucene.Net.Util.RollingBuffer.IResettable