Interface ExactVectorSearchOptions

All Superinterfaces:
org.bson.conversions.Bson, VectorSearchOptions

@Sealed public interface ExactVectorSearchOptions extends VectorSearchOptions
Represents optional fields of the $vectorSearch pipeline stage of an aggregation pipeline.

Configures exact vector search for Atlas Vector Search to enable precise matching, ensuring that results are the closest vectors to a given query vector.

Since:
5.2
See Also:
MongoDB Atlas documentation
$vectorSearch
Since server release
7.0.10, 7.3.2
  • Field Summary

    Fields inherited from interface org.bson.conversions.Bson

    DEFAULT_CODEC_REGISTRY
  • Method Summary

    Methods inherited from interface org.bson.conversions.Bson

    toBsonDocument, toBsonDocument

    Methods inherited from interface com.mongodb.client.model.search.VectorSearchOptions

    filter, option