API reference · Kjarni 0.2.7
Class SearchResult
Namespace: Kjarni
Assembly: Kjarni.dll
A single search result.
public record SearchResult : IEquatable<SearchResult>
Inheritance
Implements
Constructors
SearchResult(float, int, string, Dictionary<string, object>)
A single search result.
public SearchResult(float Score, int DocumentId, string Text, Dictionary<string, object> Metadata)
Parameters
Score float
DocumentId int
Text string
Metadata Dictionary<string, object>
Properties
DocumentId
public int DocumentId { get; init; }
Property Value
Metadata
public Dictionary<string, object> Metadata { get; init; }
Property Value
Score
public float Score { get; init; }
Property Value
Text
public string Text { get; init; }
Property Value
Kjarni runs the same engine on every platform: