Table of Contents

Class RerankedResult<T>

Namespace
DataStax.AstraDB.DataApi.Core.Enumeration
Assembly
DataStax.AstraDB.DataApi.dll

A single item returned by a FindAndRerank query operation, comprising a document and a dictionary of scores as requested.

public class RerankedResult<T> where T : class

Type Parameters

T
Inheritance
RerankedResult<T>
Inherited Members

Properties

Document

A returned document as found on the database.

public T Document { get; }

Property Value

T

Scores

The requested scores for the document, associated to the find-and-rerank process.

public Dictionary<string, float?> Scores { get; }

Property Value

Dictionary<string, float?>