Table of Contents

Struct SearchResult<T>

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Single hit returned by the BlazOrbit search pipeline.

public readonly struct SearchResult<T>

Type Parameters

T

Item type being searched.

Constructors

SearchResult(T, double, SearchMatchType)

Single hit returned by the BlazOrbit search pipeline.

public SearchResult(T Item, double Score, SearchMatchType MatchType)

Parameters

Item T

Matched item.

Score double

Relevance score; higher is better.

MatchType SearchMatchType

How the item matched the query.

Properties

Item

Matched item.

public T Item { get; init; }

Property Value

T

MatchType

How the item matched the query.

public SearchMatchType MatchType { get; init; }

Property Value

SearchMatchType

Score

Relevance score; higher is better.

public double Score { get; init; }

Property Value

double