FuzzySearchMatch
Result returned by FuzzySearch containing match information.
Result returned by FuzzySearch containing match information.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
FuzzySearchMatchConstructor
public FuzzySearchMatch();Properties3
OriginalIndexProperty
public int OriginalIndex { get; set; }The original index of FuzzySearchMatch.Target in the provided array of targets when using FuzzySearch.SearchAll otherwise -1.
ScoreProperty
public int Score { get; set; }Match score determined by FuzzySearch. Scores are not normalized and generally should not be directly compared between different queries.
TargetProperty
public string Target { get; set; }Target string which was matched against.
Methods7
GetMatchedSubstringsReckfell.Collections.Array<Vector2I>
public Reckfell.Collections.Array<Vector2I> GetMatchedSubstrings();Returns each matched substring interval of FuzzySearchMatch.Target. The Vector2I.X component is the start of the interval and the Vector2I.Y component is the length, corresponding to the arguments for String.substr.
Returns
Reckfell.Collections.Array<Vector2I>GetOriginalIndexint
public int GetOriginalIndex();Returns
intGetScoreint
public int GetScore();Returns
intGetTargetstring
public string GetTarget();Returns
stringSetOriginalIndexvoid
public void SetOriginalIndex(int originalIndex);| Name | Type | Default |
|---|---|---|
originalIndex | int | — |
SetScorevoid
public void SetScore(int score);| Name | Type | Default |
|---|---|---|
score | int | — |
SetTargetvoid
public void SetTarget(string target);| Name | Type | Default |
|---|---|---|
target | string | — |
Reckfell Engine documentationBack to top ↑