Class Among
Snowball's among construction.
Inherited Members
Namespace: Lucene.Net.Tartarus.Snowball
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class Among
Constructors
Among(string, int, int)
Initializes a new instance of the Among class.
Declaration
public Among(string str, int index, int result)
Parameters
Type | Name | Description |
---|---|---|
string | str | The search string. |
int | index | The index to the longest matching substring. |
int | result | The result of the lookup. |
Among(string, int, int, Func<bool>)
Initializes a new instance of the Among class.
Declaration
public Among(string str, int index, int result, Func<bool> action)
Parameters
Type | Name | Description |
---|---|---|
string | str | The search string. |
int | index | The index to the longest matching substring. |
int | result | The result of the lookup. |
Func<bool> | action | The action to be performed, if any. |
Properties
Action
Action to be invoked.
Declaration
public Func<bool> Action { get; }
Property Value
Type | Description |
---|---|
Func<bool> |
MatchIndex
Index to longest matching substring.
Declaration
public int MatchIndex { get; }
Property Value
Type | Description |
---|---|
int |
Result
Result of the lookup.
Declaration
public int Result { get; }
Property Value
Type | Description |
---|---|
int |
SearchString
Search string.
Declaration
public string SearchString { get; }
Property Value
Type | Description |
---|---|
string |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |