Interface SearchPath

All Superinterfaces:
Bson
All Known Subinterfaces:
FieldSearchPath, WildcardSearchPath

@Sealed @Beta(CLIENT) public interface SearchPath extends Bson
A specification of fields to be searched.

Depending on the context, one of the following methods may be used to get a representation of a SearchPath with the correct syntax: Bson.toBsonDocument(), toBsonValue(), FieldSearchPath.toValue().

Since:
4.7
MongoDB Atlas documentation
Path