metaVectorSearchScore

@Beta(value = [Reason.SERVER])
fun <T> KProperty<T>.metaVectorSearchScore(): Bson

Creates a vectorSearchScore projection for the given property, for use with {@link Aggregates#vectorSearch(FieldSearchPath, Iterable, String, long, VectorSearchOptions)} . Calling this method is equivalent to calling {@link #meta(String, String)} with {@code "vectorSearchScore"} as the argument.

Return

the projection @mongodb.atlas.manual atlas-search/scoring/ Scoring @mongodb.server.release 6.0.10