Table of Contents

Method MetaVectorSearchScore

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MetaVectorSearchScore(FieldDefinition<TSource>)

Creates a VectorSearch score projection.

public ProjectionDefinition<TSource> MetaVectorSearchScore(FieldDefinition<TSource> field)

Parameters

field FieldDefinition<TSource>

The field.

Returns

ProjectionDefinition<TSource>

A VectorSearch score projection.

MetaVectorSearchScore<TField>(Expression<Func<TSource, TField>>)

Creates a VectorSearch score projection.

public ProjectionDefinition<TSource> MetaVectorSearchScore<TField>(Expression<Func<TSource, TField>> field)

Parameters

field Expression<Func<TSource, TField>>

The field.

Returns

ProjectionDefinition<TSource>

A VectorSearch score projection.

Type Parameters

TField